summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-25 18:10:59 -0500
committerEvan Prodromou <evan@status.net>2010-01-25 18:10:59 -0500
commitb6aa1511eb868d740f8893160ce8bef387725867 (patch)
treea583cfb455da2cd53f6dd27b7cec6ef85cc6894d /actions/newnotice.php
parentb3121d09c9dc49579934189fc56a0e0195c673f9 (diff)
parente26a843caf9f6bb0d11a7128884db235ededcce0 (diff)
Merge branch 'master' into 0.9.x
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index a4ed87bb6..78480abab 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -201,7 +201,7 @@ class NewnoticeAction extends Action
$upload->attachToNotice($notice);
}
- common_broadcast_notice($notice);
+
if ($this->boolean('ajax')) {
header('Content-Type: text/xml;charset=utf-8');