diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-04-14 23:03:31 +0000 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-04-14 23:03:31 +0000 |
commit | 533a463879e574f53fb84dd977e9d72a75023451 (patch) | |
tree | ac6caa220b15d50664beab5507e1a56b030839f2 /classes/Notice.php | |
parent | 20394664957a202cc86cc48ee2d115032e82c58a (diff) | |
parent | 9f2e2e4b2c1b428a1892c57c7194fbc5ede5b125 (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 44a6aeb98..5fa0d79a1 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -67,6 +67,8 @@ class Notice extends Memcached_DataObject $this->blowSubsCache(true); $this->query('BEGIN'); + //Null any notices that are replies to this notice + $this->query(sprintf("UPDATE notice set reply_to = null WHERE reply_to = %d", $this->id)); $related = array('Reply', 'Fave', 'Notice_tag', |