channel export - use a selected list of functional data categories to export; this allows one to export single data sets instead of always exporting everything we know about

This commit is contained in:
zotlabs
2017-01-31 15:28:25 -08:00
parent a6cbebe03c
commit 732065bf13
9 changed files with 302 additions and 193 deletions

View File

@@ -478,6 +478,9 @@ class Import extends \Zotlabs\Web\Controller {
if(is_array($data['wiki']))
import_items($channel,$data['wiki'],false,$relocate);
if(is_array($data['webpages']))
import_items($channel,$data['webpages'],false,$relocate);
$addon = array('channel' => $channel,'data' => $data);
call_hooks('import_channel',$addon);