diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-24 14:04:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-10-24 14:04:09 +0200 |
commit | df85b13296aeba0a8b04847777227dd8fb07778d (patch) | |
tree | 10f9fd1f626076f7310d6f7a0b0d8d5e06a86cb7 /lib | |
parent | 3eaf23f29f67dbb6077121cc24beaddd8d587504 (diff) | |
download | nextcloud-server-df85b13296aeba0a8b04847777227dd8fb07778d.tar.gz nextcloud-server-df85b13296aeba0a8b04847777227dd8fb07778d.zip |
Remove unused method of OC_App
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/app.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 9b25810ca98..53e5cf02ae5 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -867,21 +867,6 @@ class OC_App { return $appList; } - /** - * Returns the internal app ID or false - * @param string $ocsID - * @return string|false - */ - public static function getInternalAppIdByOcs($ocsID) { - if(is_numeric($ocsID)) { - $idArray = \OC::$server->getAppConfig()->getValues(false, 'ocsid'); - if(array_search($ocsID, $idArray)) { - return array_search($ocsID, $idArray); - } - } - return false; - } - public static function shouldUpgrade($app) { $versions = self::getAppVersions(); $currentVersion = OC_App::getAppVersion($app); |