function _casetracker_update_db_next_id in Case Tracker 5
1 call to _casetracker_update_db_next_id()
File
- ./
casetracker.install, line 407
Code
function _casetracker_update_db_next_id() {
$new_id = NULL;
switch ($GLOBALS['db_type']) {
case 'mysql':
$new_id = mysql_insert_id();
break;
case 'mysqli':
$new_id = mysqli_insert_id();
break;
}
return $new_id;
}