diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-26 14:12:06 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-05 19:22:22 +0200 |
commit | afd24385a8b8a9ba75e6e0e7f3c56dfe1628991b (patch) | |
tree | ea66491be651b6b04ef50449038e2a3ac96d6e07 /lib/private/search.php | |
parent | a6583d39769e48253835b28e0c2e717b9575bf5d (diff) | |
download | nextcloud-server-afd24385a8b8a9ba75e6e0e7f3c56dfe1628991b.tar.gz nextcloud-server-afd24385a8b8a9ba75e6e0e7f3c56dfe1628991b.zip |
fix formatting
Diffstat (limited to 'lib/private/search.php')
-rw-r--r-- | lib/private/search.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/private/search.php b/lib/private/search.php index f3ade2683ce..966b0570135 100644 --- a/lib/private/search.php +++ b/lib/private/search.php @@ -25,7 +25,7 @@ namespace OC; /** * Provide an interface to all search providers */ -class Search{ +class Search { static private $providers=array(); static private $registeredProviders=array(); @@ -58,10 +58,10 @@ class Search{ */ public static function removeProvider($provider) { self::$registeredProviders = array_filter( - self::$registeredProviders, - function ($element) use ($provider) { - return ($element['class'] != $provider); - } + self::$registeredProviders, + function ($element) use ($provider) { + return ($element['class'] != $provider); + } ); // force regeneration of providers on next search self::$providers=array(); @@ -88,4 +88,5 @@ class Search{ self::$providers[]=new $class($options); } } + } |