moved userid parameter to end of list in getNotificationArray function

This commit is contained in:
Bahfir Abbes 2016-03-21 19:15:01 +01:00
parent 3f9126e663
commit a1ed41646e

View File

@ -98,7 +98,7 @@ class Notify
* @param Object $object Object the notification is about (need it to check threshold value of some notifications) * @param Object $object Object the notification is about (need it to check threshold value of some notifications)
* @return array|int <0 if KO, array of notifications to send if OK * @return array|int <0 if KO, array of notifications to send if OK
*/ */
function getNotificationsArray($notifcode,$socid= 0,$userid= 0,$object=null) function getNotificationsArray($notifcode,$socid= 0,$object=null,$userid= 0)
{ {
global $conf, $user; global $conf, $user;