MDL-15070 dml: recordset rewinding now forbidden - not all databases support it, sorry
This commit is contained in:
@@ -58,10 +58,6 @@ class pgsql_native_moodle_recordset extends moodle_recordset {
|
||||
$this->current = $this->fetch_next();
|
||||
}
|
||||
|
||||
public function rewind() {
|
||||
// we can not seek, sorry - let's ignore it ;-)
|
||||
}
|
||||
|
||||
public function valid() {
|
||||
return !empty($this->current);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user