r59733 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59732‎ | r59733 | r59734 >
Date:15:20, 4 December 2009
Author:yaron
Status:deferred
Tags:
Comment:
Improved check for determining whether SMW is at version 1.5+
Modified paths:
  • /trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php
@@ -945,7 +945,7 @@
946946
947947 $query = new SMWQuery();
948948 // for SMW 1.5+, handling is quite easy
949 - if (! class_exists('SMWResultArray')) {
 949+ if (! class_exists('SMWTemplateResultPrinter')) {
950950 return new SMWQueryResult($printouts, $query, $qr, $store, ($count > $num) );
951951 }
952952 $result = new SMWQueryResult($printouts, $query, ($count > $num) );

Status & tagging log