mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore!: Drop \OC_App::isEnabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
2845a04827
commit
dd2d50471e
1 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue