mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
5ac8883fb5
commit
b2cc0a89a2
25 changed files with 584 additions and 369 deletions
|
@ -209,7 +209,7 @@ class UserNotifications extends PluginAbstract {
|
|||
return self::createNotification($title, $msg, $users_id, $image, $href, $type, $element_id, $icon);
|
||||
}
|
||||
|
||||
public function createNotification($title, $msg = '', $to_users_id = 0, $image = '', $href = '', $type = '', $element_id = '', $icon = '', $element_class = '', $onclick = '', $priority = '') {
|
||||
public static function createNotification($title, $msg = '', $to_users_id = 0, $image = '', $href = '', $type = '', $element_id = '', $icon = '', $element_class = '', $onclick = '', $priority = '') {
|
||||
if($to_users_id == User::getId()){
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue