From 741eb0f739e8e4c78452a07543e1adcabd3dd6e9 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 20:49:20 -0500 Subject: [PATCH] I too like to live dangerously. --- core/database.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/database.class.php b/core/database.class.php index fc843cee..f9072139 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -375,7 +375,7 @@ class Database { * Execute an SQL query and return an PDO resultset */ public function execute($query, $args=array()) { - try { + //try { if(is_null($this->db)) $this->connect_db(); _count_execs($this->db, $query, $args); $stmt = $this->db->prepare($query); @@ -394,10 +394,10 @@ class Database { $stmt->execute($args); } return $stmt; - } + /*} catch(PDOException $pdoe) { throw new SCoreException($pdoe->getMessage()."

Query: ".$query); - } + }*/ } /**