summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-01 18:57:00 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 18:57:00 +0200
commitcd02b2205e5148e79698f60d0209cf10391e30c8 (patch)
treec60d4682ea87427ae9c5d4ccd964671ebdbee222 /core/Command
parent84c22fdeef6986f9038d8563937cc234751d5147 (diff)
downloadnextcloud-server-cd02b2205e5148e79698f60d0209cf10391e30c8.tar.gz
nextcloud-server-cd02b2205e5148e79698f60d0209cf10391e30c8.zip
Use public methods for OC_App::isShipped
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/App/ListApps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php
index e03e3ce8f56..c933a2519ef 100644
--- a/core/Command/App/ListApps.php
+++ b/core/Command/App/ListApps.php
@@ -73,7 +73,7 @@ class ListApps extends Base {
//sort enabled apps above disabled apps
foreach ($apps as $app) {
- if ($shippedFilter !== null && \OC_App::isShipped($app) !== $shippedFilter){
+ if ($shippedFilter !== null && $this->manager->isShipped($app) !== $shippedFilter){
continue;
}
if ($this->manager->isInstalled($app)) {