mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabled
chore!: Drop \OC_App::isEnabled
This commit is contained in:
commit
f0238fa0a2
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