diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-23 14:39:23 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-23 14:39:23 +0100 |
commit | 682b01f58db3a522f39b0d6723a909660e440a81 (patch) | |
tree | 7e0f2ef3ac82f65d7b4482b2c4ff4df7e87bdac3 /search/provider.php | |
parent | 7837e71f70749f400fc075e9b27b2c92d5928ea9 (diff) |
fix class namespaces
Diffstat (limited to 'search/provider.php')
-rw-r--r-- | search/provider.php | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/search/provider.php b/search/provider.php index d9cf1d294..9cd933926 100644 --- a/search/provider.php +++ b/search/provider.php @@ -1,16 +1,31 @@ <?php + /** -* ownCloud - News app +* ownCloud - News * * @author Alessandro Cosentino -* Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com> +* @author Bernhard Posselt +* @copyright 2012 Alessandro Cosentino cosenal@gmail.com +* @copyright 2012 Bernhard Posselt nukeawhale@gmail.com +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE +* License as published by the Free Software Foundation; either +* version 3 of the License, or any later version. * -* This file is licensed under the Affero General Public License version 3 or later. -* See the COPYING-README file +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU AFFERO GENERAL PUBLIC LICENSE for more details. +* +* You should have received a copy of the GNU Affero General Public +* License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -class OC_Search_Provider_News extends OC_Search_Provider{ +namespaces \OCA\News\Search; + +class Provider extends \OC_Search_Provider { function search($query) { if (!OCP\App::isEnabled('news')) { |