mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:35:11 +00:00
handling linkid differently, remove this
This commit is contained in:
parent
aeffec1a99
commit
6cd48cbe83
1 changed files with 0 additions and 21 deletions
|
@ -404,27 +404,6 @@ class Notifier {
|
|||
return;
|
||||
}
|
||||
|
||||
// add any linked identities
|
||||
|
||||
$l = q("select link from linkid where ident in ((" . protect_sprintf(implode(',',self::$recipients)) . ") ");
|
||||
if($l) {
|
||||
foreach($l as $lv) {
|
||||
if(! in_array("'" . $lv['link'] . "'", self::$recipients)) {
|
||||
self::$recipients[] = "'" . $lv['link'] . "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$l = q("select ident from linkid where link in ((" . protect_sprintf(implode(',',self::$recipients)) . ") ");
|
||||
if($l) {
|
||||
foreach($l as $lv) {
|
||||
if(! in_array("'" . $lv['ident'] . "'", self::$recipients)) {
|
||||
self::$recipients[] = "'" . $lv['ident'] . "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// logger('recipients: ' . print_r(self::$recipients,true), LOGGER_NORMAL, LOG_DEBUG);
|
||||
|
||||
if(! count(self::$env_recips))
|
||||
|
|
Loading…
Reference in a new issue