summaryrefslogtreecommitdiffstats
path: root/search/provider.php
diff options
context:
space:
mode:
Diffstat (limited to 'search/provider.php')
-rw-r--r--search/provider.php25
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')) {