handling linkid differently, remove this

This commit is contained in:
zotlabs 2018-08-27 19:21:48 -07:00
parent aeffec1a99
commit 6cd48cbe83

View file

@ -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))