aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-17 21:25:50 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-17 21:25:50 -0400
commitf2e87a204d0a257edb501dfedaad867700c58842 (patch)
treeadf61dd77dedbb332c5e48fe0e297da54047d7f8 /include/widgets.php
parentc98b91f5149d53f522a19ec0f69b4d4727d34896 (diff)
downloadvolse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.tar.gz
volse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.tar.bz2
volse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.zip
Progress implementing zip file export
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php19
1 files changed, 2 insertions, 17 deletions
diff --git a/include/widgets.php b/include/widgets.php
index fc2a9830b..2f8416f8e 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -779,7 +779,7 @@ function widget_design_tools($arr) {
return design_tools();
}
-function widget_website_import_tools($arr) {
+function widget_website_portation_tools($arr) {
// mod menu doesn't load a profile. For any modules which load a profile, check it.
// otherwise local_channel() is sufficient for permissions.
@@ -791,22 +791,7 @@ function widget_website_import_tools($arr) {
if(! local_channel())
return '';
- return website_import_tools();
-}
-
-function widget_website_export_tools($arr) {
-
- // mod menu doesn't load a profile. For any modules which load a profile, check it.
- // otherwise local_channel() is sufficient for permissions.
-
- if(App::$profile['profile_uid'])
- if((App::$profile['profile_uid'] != local_channel()) && (! App::$is_sys))
- return '';
-
- if(! local_channel())
- return '';
-
- return website_export_tools();
+ return website_portation_tools();
}
function widget_findpeople($arr) {