aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2016-08-10 13:49:48 +0200
committerzottel <github@zottel.net>2016-08-10 13:49:48 +0200
commit8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb (patch)
tree499ab4cac571c35f6d0758f157ed85af46c8b57c /include/widgets.php
parent6ba142fd33a74a7bdb4f3dfc8c0c0f507c293a2e (diff)
parent7a557d31e026705fc3bd2d4f39c4c679449cef56 (diff)
downloadvolse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.tar.gz
volse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.tar.bz2
volse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 5477dc1e4..68db74703 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -595,7 +595,7 @@ function widget_settings_menu($arr) {
}
// IF can go away when UNO export and import is fully functional
- if(! UNO) {
+ if(get_config('system','server_role') !== 'basic') {
$tabs[] = array(
'label' => t('Export channel'),
'url' => z_root() . '/uexport',
@@ -609,7 +609,7 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
- if(! UNO) {
+ if(get_config('system','server_role') !== 'basic') {
$tabs[] = array(
'label' => t('Guest Access Tokens'),
'url' => z_root() . '/settings/tokens',