[geeklog-hg] geeklog: Updated a few code comments

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Jun 17 21:15:54 EDT 2013


changeset 9095:6c40e4d4a4ae
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6c40e4d4a4ae
user: Tom <websitemaster at cogeco.net>
date: Fri Jun 14 14:34:40 2013 -0400
description:
Updated a few code comments

diffstat:

 plugins/staticpages/functions.inc |  1 +
 system/lib-story.php              |  2 +-
 system/lib-topic.php              |  1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 0deadcde06d4 -r 6c40e4d4a4ae plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Thu Jun 13 19:05:50 2013 -0400
+++ b/plugins/staticpages/functions.inc	Fri Jun 14 14:34:40 2013 -0400
@@ -1764,6 +1764,7 @@
         $extra_sql .=' AND sp_php = 0';
     }
     
+    // Find newest Static Pages user has access too
     $sql = "SELECT sp_id, sp_title, UNIX_TIMESTAMP({$datecolumn}) sp_date 
         FROM {$_TABLES['staticpage']}, {$_TABLES['topic_assignments']} ta   
         WHERE ta.type = 'staticpages' AND ta.id = sp_id AND (ta.tid IN ('" . implode( "','", $tids ) . "')) 
diff -r 0deadcde06d4 -r 6c40e4d4a4ae system/lib-story.php
--- a/system/lib-story.php	Thu Jun 13 19:05:50 2013 -0400
+++ b/system/lib-story.php	Fri Jun 14 14:34:40 2013 -0400
@@ -807,7 +807,7 @@
         $where_sql .= " AND (ta.tid <> '$archivetid')";
     }
 
-    // Find the newest stories
+    // Find the newest stories the user has access too
     $sql = "SELECT sid, title, UNIX_TIMESTAMP(date) s_date 
         FROM {$_TABLES['stories']}, {$_TABLES['topic_assignments']} ta  
         WHERE ta.type = 'article' AND ta.id = sid AND (ta.tid IN ('" . implode( "','", $tids ) . "')) 
diff -r 0deadcde06d4 -r 6c40e4d4a4ae system/lib-topic.php
--- a/system/lib-topic.php	Thu Jun 13 19:05:50 2013 -0400
+++ b/system/lib-topic.php	Fri Jun 14 14:34:40 2013 -0400
@@ -1740,6 +1740,7 @@
         $from_db = true;
     }
     
+    // Find all topics user has access too
     if ($from_db) {
         // Retrieve Topic options
         $sql = "SELECT ta.tid, t.topic 



More information about the geeklog-cvs mailing list