summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-01-16 12:58:17 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-01-16 12:58:17 +0100
commitd36da7e43abc716247fcc6252466f5a848cbbbed (patch)
tree0628b908c4fe3c88dae0f0849bddcfbc8019ec4c /settings/templates/apps.php
parent3c21fd5bfcaedf05a6028a4585f56e4afaddf33a (diff)
downloadnextcloud-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.php4
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>