From bf022c6e49cd016cd48457dc57c43c1912d10941 Mon Sep 17 00:00:00 2001 From: Darko Date: Thu, 18 Sep 2014 12:35:27 +0200 Subject: [PATCH] Disable exec function in db.php. --- lib/copy_this/www/lib/framework/db.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/copy_this/www/lib/framework/db.php b/lib/copy_this/www/lib/framework/db.php index 46887aed4..d8dd495d6 100644 --- a/lib/copy_this/www/lib/framework/db.php +++ b/lib/copy_this/www/lib/framework/db.php @@ -516,7 +516,7 @@ class DB extends \PDO } } - /** + /*/** * Direct query. Return the affected row count. http://www.php.net/manual/en/pdo.exec.php * * @note If not "consumed", causes this error: @@ -529,7 +529,7 @@ class DB extends \PDO * * @return bool|int|PDOStatement */ - public function exec($query, $silent = false) + /*public function exec($query, $silent = false) { if (empty($query)) { return false; @@ -568,7 +568,7 @@ class DB extends \PDO return false; } - } + }*/ /** * Returns an array of result (empty array if no results or an error occurs)