aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-30 22:11:14 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-30 22:11:14 -0400
commit16b7df37170483aa8d3dba9080a5f3f3940ec202 (patch)
treea5e26c740c3a5db179bb69d29036ea47056c1bdf /Zotlabs
parent85d8300421818f81788fcf082b00f14c444be567 (diff)
downloadvolse-hubzilla-16b7df37170483aa8d3dba9080a5f3f3940ec202.tar.gz
volse-hubzilla-16b7df37170483aa8d3dba9080a5f3f3940ec202.tar.bz2
volse-hubzilla-16b7df37170483aa8d3dba9080a5f3f3940ec202.zip
Imported webpage elements update existing elements properly. AllowCode permission is checked correctly and issues error on import if denied.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Webpages.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index 028cc5114..acaca16c3 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -316,7 +316,6 @@ class Webpages extends \Zotlabs\Web\Controller {
$path = $website;
}
$elements['pages'] = scan_webpage_elements($path, 'page', $cloud);
- logger('$elements pages: ' . json_encode($elements['pages']));
$elements['layouts'] = scan_webpage_elements($path, 'layout', $cloud);
$elements['blocks'] = scan_webpage_elements($path, 'block', $cloud);
$_SESSION['blocks'] = $elements['blocks'];
@@ -426,7 +425,6 @@ class Webpages extends \Zotlabs\Web\Controller {
break;
case 'exportcloud':
- logger('exportcloud', LOGGER_DEBUG);
if(isset($_POST['exportcloudpath']) && $_POST['exportcloudpath'] !== '') {
$_SESSION['action'] = 'export_select_list';
$_SESSION['export'] = 'cloud';