summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-24 12:06:29 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-24 12:06:29 +0200
commit9da4869cd44b0275be561409df48ac4459ceaa09 (patch)
tree27f6011d443838028c6b9dbabbb94b18bae622b0 /lib/private/app.php
parent330ea18996f4f5bfcbaaebf641d6502757077c4d (diff)
downloadnextcloud-server-9da4869cd44b0275be561409df48ac4459ceaa09.tar.gz
nextcloud-server-9da4869cd44b0275be561409df48ac4459ceaa09.zip
Correctly check whether an app is shipped
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 26d51947642..5122a4964d4 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -837,7 +837,7 @@ class OC_App {
$info['active'] = $active;
- if (isset($info['shipped']) and ($info['shipped'] == 'true')) {
+ if (self::isShipped($app)) {
$info['internal'] = true;
$info['level'] = self::officialApp;
$info['removable'] = false;