From 3a85318bd09e867f5ff764d6408e428e9b2ce19a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 10 Aug 2010 16:55:03 -0700 Subject: First stab redoing argument loading for TinyMCE (to avoid hacking checks for all notice saves everywhere) --- actions/newnotice.php | 1 + 1 file changed, 1 insertion(+) (limited to 'actions/newnotice.php') diff --git a/actions/newnotice.php b/actions/newnotice.php index 748d104ff..5e682ffd0 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -203,6 +203,7 @@ class NewnoticeAction extends Action $options = array_merge($options, $locOptions); } + Event::handle('SaveNewNoticeWeb', array($this, $user, &$content_shortened, &$options)); $notice = Notice::saveNew($user->id, $content_shortened, 'web', $options); if (isset($upload)) { -- cgit v1.2.3-54-g00ecf