aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/widgets.php b/include/widgets.php
index fa2b3de4d..a995fdf1c 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -542,11 +542,14 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
- $tabs[] = array(
- 'label' => t('Export channel'),
- 'url' => $a->get_baseurl(true) . '/uexport',
- 'selected' => ''
- );
+ // IF can go away when UNO export and import is fully functional
+ if(! UNO) {
+ $tabs[] = array(
+ 'label' => t('Export channel'),
+ 'url' => $a->get_baseurl(true) . '/uexport',
+ 'selected' => ''
+ );
+ }
if($role === false || $role === 'custom') {
$tabs[] = array(