diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:30:02 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:30:02 +0100 |
commit | d805df7bb3275b33b53c4591499be0cf68f0a38a (patch) | |
tree | 8d0d3ed70eda941d39c3c2455cc2f44cd1ad049a /lib/private/legacy | |
parent | a68595742b4a5e13f27bc5cc9d4bbd79044e1790 (diff) | |
download | nextcloud-server-d805df7bb3275b33b53c4591499be0cf68f0a38a.tar.gz nextcloud-server-d805df7bb3275b33b53c4591499be0cf68f0a38a.zip |
Use findAppInDirectories
The other function doesn't work if the appstore is disabled
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 6b5c4f3978c..a89a4650c5d 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -555,7 +555,7 @@ class OC_App { * @param string $appId * @return false|string */ - protected static function findAppInDirectories($appId) { + public static function findAppInDirectories($appId) { $sanitizedAppId = self::cleanAppId($appId); if($sanitizedAppId !== $appId) { return false; |