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/public/App/IAppManager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/public/App') diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index f0f14061e35..4840d71d756 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -67,7 +67,9 @@ interface IAppManager { public function isEnabledForUser($appId, $user = null); /** - * 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