summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-20 01:57:02 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-20 01:57:02 -0400
commit5d84485001ace75c49cdc295b4ed3540db83e988 (patch)
tree4100b04f90ecfecf95082c5fc2472bd7707e28f3 /actions
parente4f1d6f50444cf2ca6e9aaf7116d40eaa17b0f1c (diff)
First cut at hastags support.
darcs-hash:20080720055702-533db-193ed842b0d0a952bef71a3c5287213ada0ef15c.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php3
-rw-r--r--actions/postnotice.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 711b77e0a..5f6a22484 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -71,7 +71,8 @@ class NewnoticeAction extends Action {
return;
}
- common_save_replies($notice);
+ common_save_replies($notice);
+ $notice->saveTags();
common_broadcast_notice($notice);
$returnto = $this->trimmed('returnto');
diff --git a/actions/postnotice.php b/actions/postnotice.php
index ab12277bb..b08f27ac4 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -89,7 +89,8 @@ class PostnoticeAction extends Action {
common_server_error(_('Error inserting notice'), 500);
return false;
}
- common_save_replies($notice);
+ common_save_replies($notice);
+ $notice->saveTags();
common_broadcast_notice($notice, true);
}
return true;