diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-20 15:24:47 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-20 15:24:47 -0700 |
commit | da823125b92a4cb2a128e5b3e7c7298c4ee74be8 (patch) | |
tree | 3b70ab3c8fe90b92f7b1d13db22397a03d6a8996 | |
parent | 78aeb50ce59b9d83d88b5e1bc9f82195635b0996 (diff) | |
download | volse-hubzilla-da823125b92a4cb2a128e5b3e7c7298c4ee74be8.tar.gz volse-hubzilla-da823125b92a4cb2a128e5b3e7c7298c4ee74be8.tar.bz2 volse-hubzilla-da823125b92a4cb2a128e5b3e7c7298c4ee74be8.zip |
remove redundant and non-functional/broken check for successfully cloned channel record which was left over from an earlier method of creating the table; which was deprecated a few months back.
-rw-r--r-- | include/import.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/import.php b/include/import.php index bbe930864..d0e15c89d 100644 --- a/include/import.php +++ b/include/import.php @@ -85,12 +85,6 @@ function import_channel($channel, $account_id, $seize) { create_table_from_array('channel',$clean); } - if(! $r) { - logger('mod_import: channel clone failed. ' . print_r($channel,true)); - notice( t('Channel clone failed. Import failed.') . EOL); - return false; - } - $r = q("select * from channel where channel_account_id = %d and channel_guid = '%s' limit 1", intval($account_id), $channel['channel_guid'] // Already dbesc'd |