Permalink
Browse files

Had to comment out the line that updates the timemodified field when …

…a discussion is moved from one forum to another one because the timemodified field is used to sort the list of discussions and also to provide the "Last post" date. It should really be renamed to something like "timeoflastpost".
  • Loading branch information...
gustav_delius
gustav_delius committed Sep 4, 2006
1 parent bfd5c5d commit f610ac5e18248e1cda7986a001790b062c062607
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/forum/discuss.php
View
@@ -62,7 +62,9 @@
notify('Bad forum ID stored in this discussion');
}
$discussion->forum = $forum->id;
- $discussion->timemodified = time();
+ // Had to comment out the following line because the timemodified field is used to sort the list
+ // of discussions and also to provide the "Last post" date. It should really be renamed to timelastpost.
+ // $discussion->timemodified = time();
if (update_record('forum_discussions', $discussion)) {
// Update RSS feeds for both from and to forums.

0 comments on commit f610ac5

Please sign in to comment.