DBA: The condition can now be a complex string

This commit is contained in:
Michael 2017-08-12 13:54:29 +00:00
parent 1d8c91c478
commit 89017d4e6c
4 changed files with 53 additions and 42 deletions

View file

@ -6,13 +6,11 @@ require_once("include/Photo.php");
define("IMPORT_DEBUG", False);
function last_insert_id() {
global $db;
if (IMPORT_DEBUG) {
return 1;
}
return $db->insert_id();
return dba::lastInsertId();
}
function last_error() {