]> git.mxchange.org Git - friendica.git/commitdiff
array_unique didn't have a second argument before PHP 5.2.9
authorFriendika <info@friendika.com>
Fri, 26 Nov 2010 10:38:41 +0000 (02:38 -0800)
committerFriendika <info@friendika.com>
Fri, 26 Nov 2010 10:38:41 +0000 (02:38 -0800)
include/notifier.php

index dd5853208af508a71491867a787fd41551d8efb8..aedc560b037f474919fc0fa16c65fd4caf3614bf 100644 (file)
 
                        logger('notifier: url_recipients' . print_r($url_recipients,true));
 
-                       $conversants = array_unique($conversants,SORT_NUMERIC);
+                       $conversants = array_unique($conversants);
 
 
-                       $recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups),SORT_NUMERIC);
-                       $deny = array_unique(array_merge($deny_people,$deny_groups),SORT_NUMERIC);
+                       $recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups));
+                       $deny = array_unique(array_merge($deny_people,$deny_groups));
                        $recipients = array_diff($recipients,$deny);
 
                        $conversant_str = dbesc(implode(', ',$conversants));