Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-22 18:00:26 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-03-21 13:34:18 +0300
commit514de5dfa18d92d2f7bb15c9840d685b25300f4c (patch)
tree8a1538364a515507f60077a827de5fce07a1ae38 /lib/public/App
parent2d5febd0b9fe7f5b9e6a463fa877fef1148921c8 (diff)
Use isInstalled of AppManger instead of reimplement it
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/IAppManager.php4
1 files changed, 3 insertions, 1 deletions
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