From 69ba4eb0558938845fdc96957850672940965e11 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 22 Oct 2021 07:27:37 +0000 Subject: whitespace --- Zotlabs/Module/Import_items.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Module/Import_items.php') diff --git a/Zotlabs/Module/Import_items.php b/Zotlabs/Module/Import_items.php index 38be09b29..1a1e8d061 100644 --- a/Zotlabs/Module/Import_items.php +++ b/Zotlabs/Module/Import_items.php @@ -141,8 +141,9 @@ class Import_items extends Controller { //logger('import: data: ' . print_r($data,true)); //print_r($data); - if (!is_array($data)) + if (!is_array($data)) { return; + } //if (array_key_exists('compatibility', $data) && array_key_exists('database', $data['compatibility'])) { //$v1 = substr($data['compatibility']['database'], -4); @@ -173,7 +174,6 @@ class Import_items extends Controller { if (array_key_exists('event_item', $data) && is_array($data['event_item'])) { import_items($channel, $data['event_item'], false, ((array_key_exists('relocate', $data)) ? $data['relocate'] : null)); info(t('Channel calendar import 2/2 completed') . EOL); - } if (array_key_exists('menu', $data) && is_array($data['menu'])) { @@ -184,7 +184,6 @@ class Import_items extends Controller { if (array_key_exists('wiki', $data) && is_array($data['wiki'])) { import_items($channel, $data['wiki'], false, ((array_key_exists('relocate', $data)) ? $data['relocate'] : null)); info(t('Wiki import completed') . EOL); - } if (array_key_exists('webpages', $data) && is_array($data['webpages'])) { -- cgit v1.2.3