|
|
@@ -81,7 +81,7 @@ class UserTimeout extends Command
|
|
|
->where('service_start', '<=', time() - $timeout_reminder)
|
|
|
->where(function($query) use ($kefu_timeout_warning){
|
|
|
if ($kefu_timeout_warning > 0) {
|
|
|
- $query->where('service_start', '>', time() - $kefu_timeout_warning);
|
|
|
+ $query->where('service_start', '<=', time() - $kefu_timeout_warning);
|
|
|
}
|
|
|
})
|
|
|
->where('timeout_type', '<',4)
|