hide newmember widget if a new account was used to create a clone of an old channel
This commit is contained in:
parent
14e14c6c92
commit
9672d35d8c
@ -22,6 +22,12 @@ class Newmember {
|
|||||||
if(datetime_convert('UTC','UTC',$a['account_created']) < datetime_convert('UTC','UTC', 'now - 60 days'))
|
if(datetime_convert('UTC','UTC',$a['account_created']) < datetime_convert('UTC','UTC', 'now - 60 days'))
|
||||||
return EMPTY_STR;
|
return EMPTY_STR;
|
||||||
|
|
||||||
|
// This could be a new account that was used to clone a very old channel
|
||||||
|
|
||||||
|
$ob = \App::get_observer();
|
||||||
|
if($ob && array_key_exists('xchan_name_date',$ob) && $ob['xchan_name_date'] < datetime_convert('UTC','UTC','now - 60 days'))
|
||||||
|
return EMPTY_STR;
|
||||||
|
|
||||||
|
|
||||||
$options = [
|
$options = [
|
||||||
t('Profile Creation'),
|
t('Profile Creation'),
|
||||||
|
Reference in New Issue
Block a user