[geeklog-hg] geeklog: Removed unused $name parameter from COM_showBlocks that...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Jul 3 10:00:46 EDT 2012


changeset 8764:455ab67878c7
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/455ab67878c7
user: Tom <websitemaster at cogeco.net>
date: Tue Jul 03 09:07:25 2012 -0400
description:
Removed unused $name parameter from COM_showBlocks that was suppose to pass to PLG_getBlocks at some point

diffstat:

 public_html/lib-common.php |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d485f2a0fc71 -r 455ab67878c7 public_html/lib-common.php
--- a/public_html/lib-common.php	Mon Jul 02 10:52:20 2012 -0400
+++ b/public_html/lib-common.php	Tue Jul 03 09:07:25 2012 -0400
@@ -4248,13 +4248,12 @@
 *
 * @param        string      $side       Side to get blocks for (right or left for now)
 * @param        string      $topic      Only get blocks for this topic
-* @param        string      $name       Block name (not used)
 * @see function COM_showBlock
 * @return   string  HTML Formated blocks
 *
 */
 
-function COM_showBlocks( $side, $topic='', $name='all' )
+function COM_showBlocks( $side, $topic='' )
 {
     global $_CONF, $_TABLES, $_USER, $LANG21, $topic, $page, $_TOPICS;
 
@@ -4339,7 +4338,7 @@
     }
 
     // Check and see if any plugins have blocks to show
-    $pluginBlocks = PLG_getBlocks( $side, $topic, $name );
+    $pluginBlocks = PLG_getBlocks( $side, $topic );
     $blocks = array_merge( $blocks, $pluginBlocks );
 
     // sort the resulting array by block order



More information about the geeklog-cvs mailing list