diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-16 12:58:17 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-16 12:58:17 +0100 |
commit | d36da7e43abc716247fcc6252466f5a848cbbbed (patch) | |
tree | 0628b908c4fe3c88dae0f0849bddcfbc8019ec4c /settings/templates/apps.php | |
parent | 3c21fd5bfcaedf05a6028a4585f56e4afaddf33a (diff) | |
download | nextcloud-server-d36da7e43abc716247fcc6252466f5a848cbbbed.tar.gz nextcloud-server-d36da7e43abc716247fcc6252466f5a848cbbbed.zip |
use appstoreenabled config switch
Diffstat (limited to 'settings/templates/apps.php')
-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> |