mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
ALPHA 3.0.3
This commit is contained in:
@@ -165,4 +165,12 @@ class UserController extends Controller
|
||||
|
||||
$user->delete();
|
||||
}
|
||||
|
||||
public function notificationmark($id)
|
||||
{
|
||||
$notification = \Auth::User()->unreadNotifications->where('id',$id)->first();
|
||||
|
||||
$notification->delete();
|
||||
return redirect(request('url'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user