Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateAll($fields, $conditions = true) {
- $args = func_get_args();
- $output = call_user_func_array(array('parent', 'updateAll'), $args);
- if ($output) {
- $created = false;
- $options = array();
- $this->Behaviors->trigger($this, 'afterSave', array(
- $created,
- $options,
- ));
- $this->afterSave($created);
- $this->_clearCache();
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement