From 82f2d10f75a8b614ea3feca85b691091c7168cb1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 9 Feb 2012 14:29:42 +0000 Subject: [PATCH] with the good code in place, the bad code can go --- contrib/pools/main.php | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/pools/main.php b/contrib/pools/main.php index dd562548..8ca72765 100644 --- a/contrib/pools/main.php +++ b/contrib/pools/main.php @@ -340,7 +340,6 @@ class Pools extends Extension { VALUES (:uid, :public, :title, :desc, now())", array("uid"=>$user->id, "public"=>$public, "title"=>$_POST["title"], "desc"=>$_POST["description"])); - //$result = $database->get_row("SELECT LAST_INSERT_ID() AS poolID"); # FIXME database specific? $result['poolID'] = $database->get_last_insert_id(); log_info("pools", "Pool {$result["poolID"]} created by {$user->name}");