diff options
| author | Tristan Zur <tzur@ccwn.org> | 2012-06-11 18:26:37 +0200 |
|---|---|---|
| committer | Tristan Zur <tzur@ccwn.org> | 2012-06-11 18:26:37 +0200 |
| commit | e4d6e829d133584fd04e5f7ae36ba786115b7586 (patch) | |
| tree | 5e5a5598fda2386dc0fc69e85c603e1808780b00 /protected/models/User.php | |
| parent | 8f7b134e5a5e8ad43e7dd2f23f7120655bf5aa2d (diff) | |
Funktionalität zum erneuern eines Passworts hinzugefügt
- Generierung eines neuen Passworts
- eMail an den Verein mit dem neuen Passwort
- eMail an die Admin-Adresse, dass Verein ein neues Passwort bekommen
hat
Diffstat (limited to 'protected/models/User.php')
| -rw-r--r-- | protected/models/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protected/models/User.php b/protected/models/User.php index c432afe..e601042 100644 --- a/protected/models/User.php +++ b/protected/models/User.php @@ -17,7 +17,7 @@ * @property integer $user_pw_reset * * The followings are the available model relations: - * @property Vereine[] $vereine + * @property Verein $verein */ class User extends CActiveRecord { @@ -65,7 +65,7 @@ class User extends CActiveRecord // NOTE: you may need to adjust the relation name and the related // class name for the relations automatically generated below. return array( - 'vereine' => array(self::HAS_MANY, 'Vereine', 'slug'), + 'verein' => array(self::HAS_ONE, 'Verein', 'slug'), ); } |
