mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-08 01:18:48 +00:00
Replace and/AND and or/OR by && and ||
This commit is contained in:
parent
844de15593
commit
8fa3f2415a
23 changed files with 268 additions and 269 deletions
|
@ -110,11 +110,11 @@ function statistics_json_cron($a,$b) {
|
|||
$month = time() - (30 * 24 * 60 * 60);
|
||||
|
||||
foreach ($users AS $user) {
|
||||
if ((strtotime($user['login_date']) > $halfyear) OR
|
||||
if ((strtotime($user['login_date']) > $halfyear) ||
|
||||
(strtotime($user['lastitem_date']) > $halfyear))
|
||||
++$active_users_halfyear;
|
||||
|
||||
if ((strtotime($user['login_date']) > $month) OR
|
||||
if ((strtotime($user['login_date']) > $month) ||
|
||||
(strtotime($user['lastitem_date']) > $month))
|
||||
++$active_users_monthly;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue