From fac654ec5d07f725847c0da5ad8a67e256baabfa Mon Sep 17 00:00:00 2001
From: zotlabs <mike@macgirvin.com>
Date: Mon, 20 Mar 2017 15:24:47 -0700
Subject: 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.

---
 include/import.php | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'include/import.php')

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
-- 
cgit v1.2.3