mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
removed DibiConnection::sql()
This commit is contained in:
@@ -271,16 +271,6 @@ class DibiConnection extends DibiObject
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** @deprecated */
|
|
||||||
function sql($args)
|
|
||||||
{
|
|
||||||
trigger_error(__METHOD__ . '() is deprecated; use translate() instead.', E_USER_NOTICE);
|
|
||||||
$args = func_get_args();
|
|
||||||
return $this->translateArgs($args);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates and prints SQL query.
|
* Generates and prints SQL query.
|
||||||
* @param array|mixed one or more arguments
|
* @param array|mixed one or more arguments
|
||||||
|
Reference in New Issue
Block a user