aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-03-27 11:30:49 +0200
committerGitHub <noreply@github.com>2017-03-27 11:30:49 +0200
commit060cc15f816db3b2156215877eaaf77094d7e930 (patch)
tree78a2275db1859de26007dd07c8729813f3e61a95
parent6ed5784491a23a22b3bc5a80daceddeee6e9d53e (diff)
parentf252f3efc5605366262085b9499f1bb2fe4aa987 (diff)
downloadvolse-hubzilla-060cc15f816db3b2156215877eaaf77094d7e930.tar.gz
volse-hubzilla-060cc15f816db3b2156215877eaaf77094d7e930.tar.bz2
volse-hubzilla-060cc15f816db3b2156215877eaaf77094d7e930.zip
Merge pull request #704 from zotlabs/doppleclone
remove redundant and non-functional/broken check for successfully clo…
-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