mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding deprecation warning to Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6413 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4e56b06f66
commit
377643cf2b
1 changed files with 3 additions and 1 deletions
|
@ -853,7 +853,9 @@ class Controller extends Object {
|
|||
* @see Model::deconstruct()
|
||||
* @deprecated as of 1.2.0.5970
|
||||
*/
|
||||
function cleanUpFields($modelClass = null) {}
|
||||
function cleanUpFields($modelClass = null) {
|
||||
trigger_error(__('Controller::cleanUpFields() - Deprecated: this functionality has been moved to Model and is handled automatically', true), E_USER_WARNING);
|
||||
}
|
||||
/**
|
||||
* Handles automatic pagination of model records.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue