From 0db15b24d84d0d9eb1038171362db4416abe438b Sun, 29 Jan 2012 18:49:08 +0100 From: hass Date: Sun, 29 Jan 2012 18:48:49 +0100 Subject: [PATCH] #1420092: httprl_lock_release() not upgraded to D7 diff --git a/httprl.nonblocktest.inc b/httprl.nonblocktest.inc index 8bc81df..048b829 100644 --- a/httprl.nonblocktest.inc +++ b/httprl.nonblocktest.inc @@ -40,5 +40,7 @@ global $locks; unset($locks[$name]); - db_query("DELETE FROM {semaphore} WHERE name = '%s'", $name); + db_delete('semaphore') + ->condition('name', $name) + ->execute(); }