From abe362bdd442739580d065b0b66300522cfab316 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 17 Aug 2015 21:56:55 -0700 Subject: issues encountered whilst testing import_items module using yearly dump files --- mod/import_items.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/import_items.php') diff --git a/mod/import_items.php b/mod/import_items.php index fe505ff87..1e54c0deb 100644 --- a/mod/import_items.php +++ b/mod/import_items.php @@ -85,10 +85,9 @@ function import_items_post(&$a) { $channel = $a->get_channel(); - $saved_notification_flags = notifications_off($channel['channel_id']); - if($import_posts && array_key_exists('item',$data) && $data['item']) { + if(array_key_exists('item',$data) && $data['item']) { foreach($data['item'] as $i) { $item = get_item_elements($i); -- cgit v1.2.3