mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 14:29:30 +08:00
Fixed typo.
This commit is contained in:
@@ -63,7 +63,7 @@ class AutoTimestamp extends Behavior
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
ActiveRecord::EVENT_BEFORE_INSERT => 'beforeInsert',
|
ActiveRecord::EVENT_BEFORE_INSERT => 'beforeInsert',
|
||||||
ActiveRecord::EVENT_BEFORE_UPDATE => 'beforeInsert',
|
ActiveRecord::EVENT_BEFORE_UPDATE => 'beforeUpdate',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user