summaryrefslogtreecommitdiffstats
path: root/lib/public/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/App.php')
-rw-r--r--lib/public/App.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/App.php b/lib/public/App.php
index 06dde22b8d1..250d33bf01f 100644
--- a/lib/public/App.php
+++ b/lib/public/App.php
@@ -127,9 +127,10 @@ class App {
*
* This function checks whether or not an app is enabled.
* @since 4.0.0
+ * @deprecated 13.0.0 use \OC::$server->getAppManager()->isEnabledForUser($appId)
*/
public static function isEnabled( $app ) {
- return \OC_App::isEnabled( $app );
+ return \OC::$server->getAppManager()->isEnabledForUser( $app );
}
/**