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 16:25:15 -0700
commit55a080ea4e662ae719e8956c93389f3c689bb73a (patch)
treee57af90e11f1aa70ac098a1067ef5224ca676539 /classes
parent2ecbae308d0fba0ace43009f0d062301b2a86c81 (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)) {