add plugin hooks to channel sync/import/export

This commit is contained in:
redmatrix
2015-09-23 18:27:04 -07:00
parent f506f73d3f
commit e45958b967
3 changed files with 8 additions and 0 deletions

View File

@@ -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']);