From 235d2330a1a44e0a38d67c60a6d6e00aad04bf46 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 14 Jun 2020 13:01:41 -0400 Subject: [PATCH] CronPurgeInactiveUsers() needs access to $bugsys. --- includes/cron/awaiting_email_confirmation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/cron/awaiting_email_confirmation.php b/includes/cron/awaiting_email_confirmation.php index a83856c..2773b8e 100644 --- a/includes/cron/awaiting_email_confirmation.php +++ b/includes/cron/awaiting_email_confirmation.php @@ -22,6 +22,7 @@ require_once('./includes/api_user.php'); function CronPurgeInactiveUsers() { + global $bugsys; $thirty_days_ago = TIMENOW - (60 * 60 * 24 * 30); $inactive_users = bugdar::$db->query(" SELECT user.displayname, user.userid, user.email, -- 2.43.5