Remove unused method of OC_App

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-10-24 14:04:09 +02:00
parent 3eaf23f29f
commit df85b13296
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 0 additions and 15 deletions

View File

@ -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);