chore!: Drop \OC_App::isEnabled

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/38551/head
Christoph Wurst 2 years ago
parent 2845a04827
commit dd2d50471e
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
  1. 13
      lib/private/legacy/OC_App.php

@ -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…
Cancel
Save