From 514de5dfa18d92d2f7bb15c9840d685b25300f4c Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 22 Feb 2018 16:00:26 +0100 Subject: Use isInstalled of AppManger instead of reimplement it Signed-off-by: Morris Jobke --- lib/private/App/AppManager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/private/App/AppManager.php') diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 81f1369cb5e..442fc1a0e1b 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -204,7 +204,9 @@ class AppManager implements IAppManager { } /** - * Check if an app is installed in the instance + * Check if an app is enabled in the instance + * + * Notice: This actually checks if the app is enabled and not only if it is installed. * * @param string $appId * @return bool -- cgit v1.2.3