From 1cbe452f9c4724801a70bcac25abf64f23e60967 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 May 2019 23:46:45 +0200 Subject: [PATCH] * remove unused and deprecated SQLquery and SQLquote functions --- system/libs/pot/OTS_Base_DB.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/system/libs/pot/OTS_Base_DB.php b/system/libs/pot/OTS_Base_DB.php index f052968d..cf04a5e3 100644 --- a/system/libs/pot/OTS_Base_DB.php +++ b/system/libs/pot/OTS_Base_DB.php @@ -74,27 +74,6 @@ abstract class OTS_Base_DB extends PDO implements IOTS_DB return $this->fieldName($this->prefix . $name); } -/** - * @param string $string String to be quoted. - * @return string Quoted string. - * @deprecated 0.0.5 Use PDO::quote(). - * @version 0.0.7 - */ - public function SQLquote($string) - { - return parent::quote($string, PDO_PARAM_STR); - } - -/** - * @param string $query SQL query. - * @return PDOStatement|bool Query results. - * @deprecated 0.0.5 Use PDO::query(). - */ - public function SQLquery($query) - { - return query($query); - } - public function query($query) { if($this->logged) {