diff options
Diffstat (limited to 'Zotlabs/Widget/Newmember.php')
-rw-r--r-- | Zotlabs/Widget/Newmember.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Newmember.php b/Zotlabs/Widget/Newmember.php index a3f1126cc..898942ccc 100644 --- a/Zotlabs/Widget/Newmember.php +++ b/Zotlabs/Widget/Newmember.php @@ -22,6 +22,12 @@ class Newmember { if(datetime_convert('UTC','UTC',$a['account_created']) < datetime_convert('UTC','UTC', 'now - 60 days')) 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 = [ t('Profile Creation'), |