Skip to content
Snippets Groups Projects
Commit 471a04a2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #840182 by chx: testing is broken.

parent b6c0d1ab
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ public function nextId($existing_id = 0) {
$new_id = $this->query('INSERT INTO {sequences} () VALUES ()', array(), array('return' => Database::RETURN_INSERT_ID));
}
if (!$this->shutdownRegistered) {
register_shutdown_function(array($this, 'nextIdDelete'));
drupal_register_shutdown_function(array($this, 'nextIdDelete'));
$shutdownRegistered = TRUE;
}
return $new_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment