Redefined the conditions when notifications and introductions are shown.

This commit is contained in:
Michael Vogel 2015-04-26 22:16:38 +02:00
parent 8184eac42f
commit d8558366aa
2 changed files with 10 additions and 12 deletions

View file

@ -4110,9 +4110,7 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) {
}
if(($r[0]['notify-flags'] & NOTIFY_INTRO) &&
(($r[0]['page-flags'] == PAGE_NORMAL) OR ($r[0]['page-flags'] == PAGE_SOAPBOX))) {
in_array($r[0]['page-flags'], array(PAGE_NORMAL, PAGE_SOAPBOX, PAGE_FREELOVE))) {
notification(array(
'type' => NOTIFY_INTRO,
@ -4129,7 +4127,6 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) {
'otype' => 'intro'
));
}
}
}