aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-26 02:38:41 -0800
committerFriendika <info@friendika.com>2010-11-26 02:38:41 -0800
commit1cd20e17579224f5120de7973780c02588f8cc66 (patch)
tree3fc3eededc19bef582c3dacd96b1d02a836ac848
parente15b1a87555caecef902b975349a9a930f9bb0e7 (diff)
downloadvolse-hubzilla-1cd20e17579224f5120de7973780c02588f8cc66.tar.gz
volse-hubzilla-1cd20e17579224f5120de7973780c02588f8cc66.tar.bz2
volse-hubzilla-1cd20e17579224f5120de7973780c02588f8cc66.zip
array_unique didn't have a second argument before PHP 5.2.9
-rw-r--r--include/notifier.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/notifier.php b/include/notifier.php
index dd5853208..aedc560b0 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -138,11 +138,11 @@
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));