mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* remove unused and deprecated SQLquery and SQLquote functions
This commit is contained in:
parent
920e9b915f
commit
1cbe452f9c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user