diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-05-20 16:58:26 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-05-20 16:58:26 +0200 |
| commit | 4f959ffc80e64dc9ee8383826a546723d97305d9 (patch) | |
| tree | 3a0704c0e3a9f44746739ccffa0d64acc5ab172d /protected/models/Veranstaltung.php | |
| parent | acec2b5dc35302147f9a9c73d837dce2f3f9958e (diff) | |
| parent | 9aad228e1af661b9b39df83700d27e71697dc66f (diff) | |
Merge branch 'master' of ssh://proxy.ccwn.org:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/models/Veranstaltung.php')
| -rw-r--r-- | protected/models/Veranstaltung.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php index 64c7854..496cf30 100644 --- a/protected/models/Veranstaltung.php +++ b/protected/models/Veranstaltung.php @@ -113,7 +113,7 @@ class Veranstaltung extends CActiveRecord )); } - public function beforeSave() { + protected function beforeSave() { $isValid = parent::beforeSave(); if ($isValid) { $this->startzeit = Format::dbDateTime($this->startzeit); @@ -122,6 +122,10 @@ class Veranstaltung extends CActiveRecord return $isValid; } + protected function afterFind() { + parent::afterFind(); + } + public function behaviors() { return array( 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior', |
