diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-16 12:58:17 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-05 16:52:18 +0100 |
commit | 713c5c4275e15983e24f1d6f9e9d1da52ff7e3c3 (patch) | |
tree | 1ea3fa8439c4bff25e9775c8f06e0750f967cfc8 /settings | |
parent | e48c7675b90afe269754eb405fd7d6ccede81b9d (diff) | |
download | nextcloud-server-713c5c4275e15983e24f1d6f9e9d1da52ff7e3c3.tar.gz nextcloud-server-713c5c4275e15983e24f1d6f9e9d1da52ff7e3c3.zip |
use appstoreenabled config switch
Diffstat (limited to 'settings')
-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 19309908c73..4c77c62f511 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> |