aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-20 15:24:47 -0700
committerzotlabs <mike@macgirvin.com>2017-03-20 15:40:48 -0700
commitf252f3efc5605366262085b9499f1bb2fe4aa987 (patch)
treedd136fa514069ac0c4bd3d719be3091fd1999a1f /include
parent1bdab6e633fd023432ed86ad898da1fe4ddc470f (diff)
downloadvolse-hubzilla-f252f3efc5605366262085b9499f1bb2fe4aa987.tar.gz
volse-hubzilla-f252f3efc5605366262085b9499f1bb2fe4aa987.tar.bz2
volse-hubzilla-f252f3efc5605366262085b9499f1bb2fe4aa987.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')
-rw-r--r--include/import.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/import.php b/include/import.php
index 5c73b7ca3..ac634639e 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