[geeklog-cvs] geeklog: Typo in comment + some source code cosmetics

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun May 24 15:34:55 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/5cc4b9c70e17
changeset: 7052:5cc4b9c70e17
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun May 24 20:27:23 2009 +0200
description:
Typo in comment + some source code cosmetics

diffstat:

 plugins/links/functions.inc |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r d0ee1ac7c3a4 -r 5cc4b9c70e17 plugins/links/functions.inc
--- a/plugins/links/functions.inc	Sun May 24 19:32:18 2009 +0200
+++ b/plugins/links/functions.inc	Sun May 24 20:27:23 2009 +0200
@@ -100,17 +100,17 @@
 /**
 * Return headlines for New Links section in the What's New block, if enabled
 *
-* @return   mixed       array(headline, byline), or boolean false is disabled
+* @return   mixed       array(headline, byline), or boolean false if disabled
 *
 */
 function plugin_whatsnewsupported_links()
 {
-    global $_TABLES, $_LI_CONF, $LANG_LINKS, $LANG_WHATSNEW;
+    global $_LI_CONF, $LANG_LINKS, $LANG_WHATSNEW;
 
-    if ( $_LI_CONF['hidenewlinks'] == 0 ) {
-        $retval = array( $LANG_LINKS[84],
-                         COM_formatTimeString( $LANG_WHATSNEW['new_last'],
-                                               $_LI_CONF['newlinksinterval'] )
+    if ($_LI_CONF['hidenewlinks'] == 0) {
+        $retval = array($LANG_LINKS[84],
+                        COM_formatTimeString($LANG_WHATSNEW['new_last'],
+                                             $_LI_CONF['newlinksinterval'])
                        );
     } else {
         $retval = false;



More information about the geeklog-cvs mailing list