r102907 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102906‎ | r102907 | r102908 >
Date:20:40, 13 November 2011
Author:yaron
Status:deferred
Tags:
Comment:
Follow-up to r98691 - fixed uasort() call for PHP < 5.3
Modified paths:
  • /trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php
@@ -74,7 +74,7 @@
7575 }
7676
7777 // Sort results so that they'll show up by page name
78 - uasort( $results, 'self::compareQueryResults' );
 78+ uasort( $results, array( 'SCQQueryProcessor', 'compareQueryResults' ) );
7979
8080 $query_result = new SCQQueryResult( $next_result->getPrintRequests(), new SMWQuery(), $results, smwfGetStore() );
8181

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98691Added sorting of results, fixed typo in variable name added in r98672yaron17:08, 2 October 2011