MDL-20349 find_sequence_name() is out. No need to use it anymore.

This commit is contained in:
stronk7
2009-10-11 21:52:40 +00:00
parent 3bbd1cd2f7
commit 15a0ffc8f0
5 changed files with 6 additions and 73 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class oracle_sql_generator extends sql_generator {
$value = (int)$this->mdb->get_field_sql('SELECT MAX(id) FROM {'.$tablename.'}');
$value++;
$seqname = $this->mdb->get_manager()->find_sequence_name($xmldb_table);
$seqname = $this->getSequenceFromDB($xmldb_table);
if (!$seqname) {
/// Fallback, seqname not found, something is wrong. Inform and use the alternative getNameForObject() method