forked from GNUsocial/gnu-social
Refactoring on notification mail generation: common profile & footer chunks pulled out, notifications added for group joins.
This commit is contained in:
@@ -162,4 +162,13 @@ class Group_member extends Memcached_DataObject
|
||||
|
||||
return $act;
|
||||
}
|
||||
|
||||
/**
|
||||
* Send notifications via email etc to group administrators about
|
||||
* this exciting new membership!
|
||||
*/
|
||||
public function notify()
|
||||
{
|
||||
mail_notify_group_join($this->getGroup(), $this->getMember());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user