From dd2d50471e87fa0be8efe60171582b86cefec127 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 31 May 2023 15:06:25 +0200 Subject: chore!: Drop \OC_App::isEnabled Signed-off-by: Christoph Wurst --- lib/private/legacy/OC_App.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib') diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index b1da6a1d2fb..411f29cc19d 100644 --- a/lib/private/legacy/OC_App.php +++ b/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 * -- cgit v1.2.3