aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.php
diff options
context:
space:
mode:
authorHubzilla <hubzilla@hz.macgirvin.com>2017-01-22 18:48:45 -0800
committerHubzilla <hubzilla@hz.macgirvin.com>2017-01-22 18:48:45 -0800
commit17f1d39fcf973ac35f14a36faa2b92867fbb11e9 (patch)
tree43ba2ffbfbeb0b056625aabc4aeb42707747d693 /Zotlabs/Module/Import.php
parent3bafa05ad1093d70c893d0985788203ccb1e7169 (diff)
downloadvolse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.tar.gz
volse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.tar.bz2
volse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.zip
basic support for clone syncing of wikis and wiki pages
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r--Zotlabs/Module/Import.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php
index aa79fa8bf..b69daa2ff 100644
--- a/Zotlabs/Module/Import.php
+++ b/Zotlabs/Module/Import.php
@@ -472,6 +472,9 @@ class Import extends \Zotlabs\Web\Controller {
if(is_array($data['menu']))
import_menus($channel,$data['menu']);
+
+ if(is_array($data['wiki']))
+ import_items($channel,$data['wiki'],false,$relocate);
$addon = array('channel' => $channel,'data' => $data);
call_hooks('import_channel',$addon);