From 6e58a926e3b3889d96df37c71f4aa090700041fd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 30 Sep 2010 16:25:15 -0700 Subject: ForceGroup plugin: optionally force new users to join a particular group or set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core. --- classes/Notice.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes') diff --git a/classes/Notice.php b/classes/Notice.php index 79626f889..e268544b5 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2034,6 +2034,7 @@ class Notice extends Memcached_DataObject { // We always insert for the author so they don't // have to wait + Event::handle('StartNoticeDistribute', array($this)); $user = User::staticGet('id', $this->profile_id); if (!empty($user)) { -- cgit v1.2.3-54-g00ecf