From 682b01f58db3a522f39b0d6723a909660e440a81 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 23 Mar 2013 14:39:23 +0100 Subject: fix class namespaces --- search/provider.php | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'search') 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 @@ +* @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 . * */ -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')) { -- cgit v1.2.3