summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-30 16:25:15 -0700
committerBrion Vibber <brion@pobox.com>2010-09-30 18:05:44 -0700
commit6e58a926e3b3889d96df37c71f4aa090700041fd (patch)
tree4cbd56330be790d7f18d636988d205f449216864 /classes
parent8c85f83300fc2545f0d5e4ba767346082ebec5ba (diff)
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.
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php1
1 files changed, 1 insertions, 0 deletions
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)) {