aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-23 18:27:04 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-23 18:27:04 -0700
commite45958b967d3b455167191fa91b0c2b6983b6ad5 (patch)
tree258c5258db862b1e304ee15963fd96ce170a4fb5 /mod/import.php
parentf506f73d3fc80fb68f63f654b5e93a6920780d6f (diff)
downloadvolse-hubzilla-e45958b967d3b455167191fa91b0c2b6983b6ad5.tar.gz
volse-hubzilla-e45958b967d3b455167191fa91b0c2b6983b6ad5.tar.bz2
volse-hubzilla-e45958b967d3b455167191fa91b0c2b6983b6ad5.zip
add plugin hooks to channel sync/import/export
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/import.php b/mod/import.php
index 563967aa2..b6e36d734 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -450,6 +450,8 @@ function import_post(&$a) {
if(is_array($data['menu']))
import_menus($channel,$data['menu']);
+ $addon = array('channel' => $channel,'data' => $data);
+ call_hooks('import_channel',$addon);
$saved_notification_flags = notifications_off($channel['channel_id']);