diff options
Diffstat (limited to 'lib/db/adapter.php')
-rw-r--r-- | lib/db/adapter.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/db/adapter.php b/lib/db/adapter.php index c62e35495cd..b0c9aab9c7a 100644 --- a/lib/db/adapter.php +++ b/lib/db/adapter.php @@ -14,4 +14,8 @@ class Adapter { public function __construct($conn) { $this->conn = $conn; } + + public function lastInsertId($table) { + return $this->conn->realLastInsertId($table); + } } |