mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
ALPHA 3.0.6
This commit is contained in:
@@ -174,6 +174,24 @@ class UserController extends Controller
|
||||
return redirect(request('url'));
|
||||
}
|
||||
|
||||
public function notificationmarkALL()
|
||||
{
|
||||
$notifications = \Auth::User()->unreadNotifications;
|
||||
foreach($notifications as $notification)
|
||||
{
|
||||
$notification->delete();
|
||||
}
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
public function notificationmarkECC($id)
|
||||
{
|
||||
$notification = \Auth::User()->unreadNotifications->where('id',$id)->first();
|
||||
|
||||
$notification->delete();
|
||||
return redirect('/ecc');
|
||||
}
|
||||
|
||||
public function showUserProfil($id = 0)
|
||||
{
|
||||
if ($id == 0) {
|
||||
|
||||
Reference in New Issue
Block a user