mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
refactor: rename property to match type
This commit is contained in:
@@ -188,8 +188,8 @@ class NotificationController extends Controller
|
||||
*/
|
||||
public function updateAll(Request $request)
|
||||
{
|
||||
$current = new Carbon();
|
||||
$request->user()->unreadNotifications()->update(['read_at' => $current]);
|
||||
$carbon = new Carbon();
|
||||
$request->user()->unreadNotifications()->update(['read_at' => $carbon]);
|
||||
|
||||
return redirect()->route('notifications.index')
|
||||
->withSuccess('All Notifications Marked As Read!');
|
||||
|
||||
Reference in New Issue
Block a user