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.
This commit is contained in:
parent
78aeb50ce5
commit
da823125b9
@ -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
|
||||
|
Reference in New Issue
Block a user