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:
@@ -19,10 +19,11 @@ class Alert extends Notification
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($user,$msg)
|
||||
public function __construct($user,$msg,$url)
|
||||
{
|
||||
$this->myNotification = $msg;
|
||||
$this->fromUser = $user;
|
||||
$this->myUrl = $url;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -47,6 +48,7 @@ class Alert extends Notification
|
||||
return [
|
||||
'from' => $this->fromUser,
|
||||
'msg' => $this->myNotification,
|
||||
'url' => $this->myUrl,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user