diff options
-rw-r--r-- | settings/templates/apps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php index bf2f178ca16..bd387144504 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -9,7 +9,7 @@ <ul id="leftcontent" class="applist"> - <?php if (OC_Util::getEditionString() === ''): ?> + <?php if(OC_Config::getValue('appstoreenabled', true) === true): ?> <li> <a class="app-external" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?> …</a> </li> @@ -26,7 +26,7 @@ </li> <?php endforeach;?> - <?php if (OC_Util::getEditionString() === ''): ?> + <?php if(OC_Config::getValue('appstoreenabled', true) === true): ?> <li> <a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?> …</a> </li> |