mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 21:43:57 +00:00
Merge branch 'dillon/34.1-jenkins-vapor' into vapor/development
This commit is contained in:
@@ -22,6 +22,8 @@ class NewUserRegistrationExpireCheckV2CommandJob implements ShouldQueue
|
||||
$start = new Carbon();
|
||||
|
||||
$attempts = UserEmailVerification::active()->twoDaysOld()->get();
|
||||
|
||||
Log::info('Carbon now()->subHours(48): '. Carbon::now()->subHours(48));
|
||||
Log::info('Attempts count: '.count($attempts));
|
||||
|
||||
foreach ($attempts as $attempt){
|
||||
|
||||
@@ -33,6 +33,6 @@ class UserEmailVerification extends AbstractModel
|
||||
*/
|
||||
public function scopeTwoDaysOld($query)
|
||||
{
|
||||
return $query->where('created_at', '>=', Carbon::now()->subHours(48));
|
||||
return $query->where('created_at', '<=', Carbon::now()->subHours(48));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user