make sure we only have one profile photo for a cloned channel

This commit is contained in:
Mario Vavti
2015-11-01 21:04:55 +01:00
parent 0353b0e04f
commit 7ce3ebc46d
2 changed files with 26 additions and 16 deletions

View File

@@ -734,6 +734,11 @@ function import_channel_photo($photo,$type,$aid,$uid) {
$photo_failure = true;
}
return(($photo_failure)? false : true);
//return(($photo_failure)? false : true);
if($photo_failure)
return false;
else
return $hash;
}