r106327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106326‎ | r106327 | r106328 >
Date:14:27, 15 December 2011
Author:yaron
Status:ok
Tags:
Comment:
Fix for r105990 - $admin_links_tree is an object of type ALTree, not an array
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.hooks.php
@@ -52,11 +52,11 @@
5353 *
5454 * @since 1.7
5555 *
56 - * @param array $admin_links_tree
 56+ * @param ALTree $admin_links_tree
5757 *
5858 * @return true
5959 */
60 - public static function addToAdminLinks( array &$admin_links_tree ) {
 60+ public static function addToAdminLinks( ALTree &$admin_links_tree ) {
6161 $data_structure_section = new ALSection( wfMsg( 'smw_adminlinks_datastructure' ) );
6262
6363 $smw_row = new ALRow( 'smw' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105990moving some stuff aroundjeroendedauw06:00, 13 December 2011

Status & tagging log