MDL-27898 fix question/engine/simpletest/testdatalib.php unit tests.

Now that MDL-27897 is fixed.
This commit is contained in:
Tim Hunt
2011-06-17 11:28:05 +01:00
parent cfcf9bb4e3
commit 5f79a9bcb6
2 changed files with 19 additions and 10 deletions
+1 -2
View File
@@ -1159,8 +1159,6 @@ class qubaid_list extends qubaid_condition {
$this->params = array();
return '1 = 0';
}
list($where, $this->params) = $DB->get_in_or_equal(
$this->qubaids, SQL_PARAMS_NAMED, 'qubaid');
return $this->columntotest . ' ' . $this->usage_id_in();
}
@@ -1173,6 +1171,7 @@ class qubaid_list extends qubaid_condition {
global $DB;
if (empty($this->qubaids)) {
$this->params = array();
return '= 0';
}
list($where, $this->params) = $DB->get_in_or_equal(