|
@@ -5,7 +5,7 @@
|
|
|
* @copyright http://www.4webby.com
|
|
* @copyright http://www.4webby.com
|
|
|
* @author Daniel Vecchiato
|
|
* @author Daniel Vecchiato
|
|
|
* @author Mark Scherer
|
|
* @author Mark Scherer
|
|
|
- * @author Marc W�rth
|
|
|
|
|
|
|
+ * @author Marc Würth
|
|
|
* @version 1.3
|
|
* @version 1.3
|
|
|
* @license http://opensource.org/licenses/mit-license.php MIT
|
|
* @license http://opensource.org/licenses/mit-license.php MIT
|
|
|
*/
|
|
*/
|
|
@@ -102,8 +102,9 @@ class WhoDidItBehavior extends ModelBehavior {
|
|
|
* ... the modified by field only if it is not in the data array
|
|
* ... the modified by field only if it is not in the data array
|
|
|
* or the "force_modified" setting is set to true.
|
|
* or the "force_modified" setting is set to true.
|
|
|
*
|
|
*
|
|
|
- * @param Model $Model The model using this behavior.
|
|
|
|
|
- * @return bool True
|
|
|
|
|
|
|
+ * @param Model $Model The Model using this behavior
|
|
|
|
|
+ * @param array $options Options passed from Model::save(), unused.
|
|
|
|
|
+ * @return mixed False if the operation should abort. Any other result will continue.
|
|
|
*/
|
|
*/
|
|
|
public function beforeSave(Model $Model, $options = array()) {
|
|
public function beforeSave(Model $Model, $options = array()) {
|
|
|
$config = $this->settings[$Model->alias];
|
|
$config = $this->settings[$Model->alias];
|