mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Remove references to ::Plain() method.
This commit is contained in:
parent
3ba6a1da1b
commit
c131ab8b3e
@ -177,7 +177,7 @@ class AwlDBDialect {
|
||||
function Quote( $value, $value_type = null ) {
|
||||
if ( isset($value_type) && $value_type == 'identifier' ) {
|
||||
if ( $this->dialect == 'mysql' ) {
|
||||
/** TODO: Someone should confirm this is correct for MySql */
|
||||
/** @TODO: Someone should confirm this is correct for MySql */
|
||||
$rv = '`' . str_replace('`', '\\`', $value ) . '`';
|
||||
}
|
||||
else {
|
||||
@ -291,10 +291,6 @@ class AwlDBDialect {
|
||||
if ( !isset($arg) ) {
|
||||
$querystring .= 'NULL';
|
||||
}
|
||||
elseif ( is_array($arg) && $arg['plain'] != '' ) {
|
||||
// We abuse this, but people should access it through the PgQuery::Plain($v) function
|
||||
$querystring .= $arg['plain'];
|
||||
}
|
||||
else {
|
||||
$querystring .= $this->Quote($arg); //parameter
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user