r49521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49520‎ | r49521 | r49522 >
Date:20:04, 15 April 2009
Author:yaron
Status:deferred
Tags:
Comment:
Check changed from 'SMWSQLStore2' to 'SMWSQLStore' to accomodate Halo 1.4
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_AppliedFilter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_AppliedFilter.php
@@ -107,10 +107,10 @@
108108 */
109109 function getAllOrValues($category) {
110110 global $smwgDefaultStore;
111 - if ($smwgDefaultStore == 'SMWSQLStore2') {
 111+ if ($smwgDefaultStore == 'SMWSQLStore') {
 112+ return $this->getAllOrValues_orig($category);
 113+ } else {
112114 return $this->getAllOrValues_2($category);
113 - } else {
114 - return $this->getAllOrValues_orig($category);
115115 }
116116 }
117117

Status & tagging log