Correctly check whether an app is shipped

This commit is contained in:
Joas Schilling 2015-09-24 12:06:29 +02:00
parent 330ea18996
commit 9da4869cd4
1 changed files with 1 additions and 1 deletions

View File

@ -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;