Commit 407230a6af2a2ed43dc43ebe58bdf362366be238

Authored by nbm
1 parent f237dc03

Remove last vestiges of last_insert_id.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3321 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 0 additions and 5 deletions
lib/database/dbcompat.inc
@@ -13,7 +13,6 @@ class DBCompat { @@ -13,7 +13,6 @@ class DBCompat {
13 $default->log->error("Error running query: " . DBUtil::lastQuery()); 13 $default->log->error("Error running query: " . DBUtil::lastQuery());
14 $default->log->error($this->lastResult->toString()); 14 $default->log->error($this->lastResult->toString());
15 } else { 15 } else {
16 - $this->lastInsertID = mysql_insert_id($default->_db->connection);  
17 if (is_object($this->lastResult)) { 16 if (is_object($this->lastResult)) {
18 $this->lastResult->autofree = true; 17 $this->lastResult->autofree = true;
19 } 18 }
@@ -50,10 +49,6 @@ class DBCompat { @@ -50,10 +49,6 @@ class DBCompat {
50 // $default->log->debug("Yielding value $value"); 49 // $default->log->debug("Yielding value $value");
51 return $value; 50 return $value;
52 } 51 }
53 -  
54 - function insert_id () {  
55 - return $this->lastInsertID;  
56 - }  
57 } 52 }
58 53
59 function quote($value) { 54 function quote($value) {