[Pkg-owncloud-commits] [owncloud] 63/145: use appstoreenabled config switch
David Prévot
taffit at moszumanska.debian.org
Wed Feb 26 16:27:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 713c5c4275e15983e24f1d6f9e9d1da52ff7e3c3
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Thu Jan 16 12:58:17 2014 +0100
use appstoreenabled config switch
---
settings/templates/apps.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 1930990..4c77c62 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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list