aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-05-31 16:50:50 +0200
committerGitHub <noreply@github.com>2023-05-31 16:50:50 +0200
commitf0238fa0a2c67a2720e8838058495abfa5ca1680 (patch)
tree2e427f4b0c7cd3712a978147cabf3345e5cc779f /lib
parent496a8d2b80d3b45f618ed2da45a336c3fadfadd6 (diff)
parentdd2d50471e87fa0be8efe60171582b86cefec127 (diff)
downloadnextcloud-server-f0238fa0a2c67a2720e8838058495abfa5ca1680.tar.gz
nextcloud-server-f0238fa0a2c67a2720e8838058495abfa5ca1680.zip
Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabled
chore!: Drop \OC_App::isEnabled
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_App.php13
1 files changed, 0 insertions, 13 deletions
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
@@ -242,19 +242,6 @@ class OC_App {
}
/**
- * 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
*
* @param string $appId