summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-08 22:58:21 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-08 22:58:21 +0000
commitdcee7f2f6230be385972af4abc9ea8653bf42668 (patch)
treeec41f0747a689a35505b34c29fbdf08c83d7cd4b /classes
parent03a4a4bebf2197097e672e094535ee067fe25441 (diff)
parent85873b1f2b5b6a3e065cf5d227df31380b6f239e (diff)
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 6f2ced362..a399d97e0 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -68,6 +68,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',