mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 22:26:43 +02:00
removed some old and deprecated stuff
This commit is contained in:
@@ -203,15 +203,10 @@ class DibiFluent extends DibiObject implements IDataSource
|
||||
* @param string clause name
|
||||
* @return self
|
||||
*/
|
||||
public function clause($clause, $remove = FALSE)
|
||||
public function clause($clause)
|
||||
{
|
||||
$this->cursor = & $this->clauses[self::$normalizer->$clause];
|
||||
|
||||
if ($remove) { // deprecated, use removeClause
|
||||
trigger_error(__METHOD__ . '(..., TRUE) is deprecated; use removeClause() instead.', E_USER_NOTICE);
|
||||
$this->cursor = NULL;
|
||||
|
||||
} elseif ($this->cursor === NULL) {
|
||||
if ($this->cursor === NULL) {
|
||||
$this->cursor = array();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user