Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabled

chore!: Drop \OC_App::isEnabled
This commit is contained in:
Joas Schilling 2023-05-31 16:50:50 +02:00 committed by GitHub
commit f0238fa0a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,19 +241,6 @@ class OC_App {
return $apps;
}
/**
* checks whether or not an app is enabled
*
* @param string $app app
* @return bool
* @deprecated 13.0.0 use \OC::$server->getAppManager()->isEnabledForUser($appId)
*
* This function checks whether or not an app is enabled.
*/
public static function isEnabled(string $app): bool {
return \OC::$server->getAppManager()->isEnabledForUser($app);
}
/**
* enables an app
*