Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
634fa8f835
@ -26,7 +26,7 @@ class UserClassesController extends Controller
|
||||
$current_date = date('Y-m-d H:i:s');
|
||||
$classes_date = $classes_item->created_at;
|
||||
$hours_difference = checkHoursDifference($classes_date, $current_date);
|
||||
if ($hours_difference > 1.5) {
|
||||
if ($hours_difference > 1.5 ) {
|
||||
$classes_item->classes_code = null;
|
||||
$classes_item->save();
|
||||
$classes_item->refresh();
|
||||
|
Loading…
Reference in New Issue
Block a user