aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-07 17:29:35 -0700
committerredmatrix <git@macgirvin.com>2016-08-07 17:29:35 -0700
commit5243dd153bed7fe79188478922a58e8057be3f3e (patch)
tree92ca6142a60f235cf70c4a31cda0b7ffc6d68c86 /include/widgets.php
parente1659b0725c275c2ba5f38a02a0f3fbcec145519 (diff)
downloadvolse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.gz
volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.bz2
volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.zip
use config system.server_role and deprecate 'UNO'
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',