Commit 407230a6af2a2ed43dc43ebe58bdf362366be238
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 | 13 | $default->log->error("Error running query: " . DBUtil::lastQuery()); |
| 14 | 14 | $default->log->error($this->lastResult->toString()); |
| 15 | 15 | } else { |
| 16 | - $this->lastInsertID = mysql_insert_id($default->_db->connection); | |
| 17 | 16 | if (is_object($this->lastResult)) { |
| 18 | 17 | $this->lastResult->autofree = true; |
| 19 | 18 | } |
| ... | ... | @@ -50,10 +49,6 @@ class DBCompat { |
| 50 | 49 | // $default->log->debug("Yielding value $value"); |
| 51 | 50 | return $value; |
| 52 | 51 | } |
| 53 | - | |
| 54 | - function insert_id () { | |
| 55 | - return $this->lastInsertID; | |
| 56 | - } | |
| 57 | 52 | } |
| 58 | 53 | |
| 59 | 54 | function quote($value) { | ... | ... |