]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
notices are immutable, use created date for updated
authorEvan Prodromou <evan@status.net>
Tue, 29 Dec 2009 01:51:04 +0000 (17:51 -0800)
committerEvan Prodromou <evan@status.net>
Tue, 29 Dec 2009 01:51:04 +0000 (17:51 -0800)
classes/Notice.php

index 7651d8bd50e4bd4fbc80022ea170d90551388cb9..0bb3b861c7b46b88a9f2e4b7a39ba25b74a58082 100644 (file)
@@ -1139,7 +1139,7 @@ class Notice extends Memcached_DataObject
         $xs->element('id', null, $this->uri);
 
         $xs->element('published', null, common_date_w3dtf($this->created));
-        $xs->element('updated', null, common_date_w3dtf($this->modified));
+        $xs->element('updated', null, common_date_w3dtf($this->created));
 
         if ($this->reply_to) {
             $reply_notice = Notice::staticGet('id', $this->reply_to);