From 9da4869cd44b0275be561409df48ac4459ceaa09 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 24 Sep 2015 12:06:29 +0200 Subject: Correctly check whether an app is shipped --- lib/private/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3