Remove references to ::Plain() method.

This commit is contained in:
Andrew McMillan 2010-03-17 13:53:49 +13:00
parent 3ba6a1da1b
commit c131ab8b3e

View File

@ -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
}