[geeklog-hg] geeklog: Update last topic update var when topic moved up or dow...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Jul 3 12:54:00 EDT 2013


changeset 9161:752fa0420466
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/752fa0420466
user: Tom <websitemaster at cogeco.net>
date: Wed Jul 03 12:27:18 2013 -0400
description:
Update last topic update var when topic moved up or down in the list

diffstat:

 public_html/admin/topic.php |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 4ef3094124a4 -r 752fa0420466 public_html/admin/topic.php
--- a/public_html/admin/topic.php	Wed Jul 03 10:51:21 2013 -0400
+++ b/public_html/admin/topic.php	Wed Jul 03 12:27:18 2013 -0400
@@ -792,6 +792,9 @@
     }
 
     DB_query("UPDATE {$_TABLES['topics']} SET sortnum = $order WHERE tid = '$tid'");
+    
+    // Update date of change to a topic
+    TOPIC_updateLastTopicUpdate();
 }
 
 /**



More information about the geeklog-cvs mailing list