Fix Remove PPPOE user

This commit is contained in:
Ibnu Maksum
2023-08-28 10:38:59 +07:00
parent d0cebe7458
commit 717b21e65e
3 changed files with 18 additions and 11 deletions

View File

@ -65,7 +65,7 @@ date_default_timezone_set($config['timezone']);
$textExpired = Lang::getNotifText('expired');
$d = ORM::for_table('tbl_user_recharges')->where('status', 'on')->where('expiration', date("Y-m-d"))->find_many();
$d = ORM::for_table('tbl_user_recharges')->where('status', 'on')->where_lte('expiration', date("Y-m-d"))->find_many();
echo "Found ".count($d)." user(s)\n";
run_hook('cronjob'); #HOOK