diff options
author | Mario <mario@mariovavti.com> | 2021-03-18 14:56:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-18 14:56:53 +0000 |
commit | 854a6e378703d096e8c9c4910600d3da6e854a5c (patch) | |
tree | e2dc28b3c68e1d1a38e1bce2ad35c7d9f5d604fc /Zotlabs/Module/Admin/Accounts.php | |
parent | a36dd5a8b9e5046d9d6113771c483c1eaa3a057f (diff) | |
download | volse-hubzilla-854a6e378703d096e8c9c4910600d3da6e854a5c.tar.gz volse-hubzilla-854a6e378703d096e8c9c4910600d3da6e854a5c.tar.bz2 volse-hubzilla-854a6e378703d096e8c9c4910600d3da6e854a5c.zip |
air: only set registration request to expired if it is not yet verified
Diffstat (limited to 'Zotlabs/Module/Admin/Accounts.php')
-rw-r--r-- | Zotlabs/Module/Admin/Accounts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php index d4a632901..eab3f15c8 100644 --- a/Zotlabs/Module/Admin/Accounts.php +++ b/Zotlabs/Module/Admin/Accounts.php @@ -196,11 +196,11 @@ class Accounts { $pending[$n]['reg_atip'] = $v['reg_atip'] . ' ◄' . $atipn[ $v['reg_atip'] ] . '×'; } - $pending[$n]['status'] = t('Not yet verified'); + $pending[$n]['status'] = t('Not verified'); if($pending[$n]['reg_vfd']) $pending[$n]['status'] = t('Verified'); - if($pending[$n]['reg_expires'] < datetime_convert()) + if(!$pending[$n]['reg_vfd'] && $pending[$n]['reg_expires'] < datetime_convert()) $pending[$n]['status'] = t('Expired'); $pending[$n]['reg_created'] = datetime_convert('UTC', date_default_timezone_get(), $pending[$n]['reg_created']); |