summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-24 17:50:43 +0200
committerGitHub <noreply@github.com>2017-10-24 17:50:43 +0200
commitf368481c2395cf5e973def65b75d11d2010cf3fa (patch)
tree9e5415da883425e93aa359ba2f16c50a3428c4ca /lib
parent77697288dee57f033d6ae48903571888e672d262 (diff)
parentdf85b13296aeba0a8b04847777227dd8fb07778d (diff)
downloadnextcloud-server-f368481c2395cf5e973def65b75d11d2010cf3fa.tar.gz
nextcloud-server-f368481c2395cf5e973def65b75d11d2010cf3fa.zip
Merge pull request #6928 from nextcloud/remove-unneeded-method
Remove unused method of OC_App
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/app.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 3cd7a62ef8a..519bb2cad2e 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -868,21 +868,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);