aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-20 15:24:47 -0700
committerMario Vavti <mario@mariovavti.com>2017-04-07 10:23:02 +0200
commitfac654ec5d07f725847c0da5ad8a67e256baabfa (patch)
tree54c4ffb74fda1bb1f64a893d6f61f506b887362f /include/import.php
parent418d102663bf96b560461159c4b87299689b38d6 (diff)
downloadvolse-hubzilla-fac654ec5d07f725847c0da5ad8a67e256baabfa.tar.gz
volse-hubzilla-fac654ec5d07f725847c0da5ad8a67e256baabfa.tar.bz2
volse-hubzilla-fac654ec5d07f725847c0da5ad8a67e256baabfa.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.
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/import.php b/include/import.php
index e1880fe6e..eab47e2ee 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