partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0cc44c6d00426f12a683f04b79a033255c9e38e9
parent 7e2178f5a0336b75b46944e94ff397e877b1be81
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Fri,  6 Nov 2015 23:41:41 +0100

Removed legacy auth exceptions

Diffstat:
Dsrc/PartKeepr/AuthBundle/Entity/User/Exceptions/InvalidLoginDataException.php | 15---------------
Dsrc/PartKeepr/AuthBundle/Entity/User/Exceptions/UserAlreadyExistsException.php | 20--------------------
Dsrc/PartKeepr/AuthBundle/Entity/User/Exceptions/UserDoesNotExistException.php | 18------------------
3 files changed, 0 insertions(+), 53 deletions(-)

diff --git a/src/PartKeepr/AuthBundle/Entity/User/Exceptions/InvalidLoginDataException.php b/src/PartKeepr/AuthBundle/Entity/User/Exceptions/InvalidLoginDataException.php @@ -1,14 +0,0 @@ -<?php -namespace PartKeepr\AuthBundle\Entity\User\Exceptions; - -use PartKeepr\PartKeepr; -use PartKeepr\Util\SerializableException; - -/** - * Is thrown when the user has given wrong credentials. - */ -class InvalidLoginDataException extends SerializableException { - public function __construct () { - parent::__construct(PartKeepr::i18n("Username or Password wrong.")); - } -}- \ No newline at end of file diff --git a/src/PartKeepr/AuthBundle/Entity/User/Exceptions/UserAlreadyExistsException.php b/src/PartKeepr/AuthBundle/Entity/User/Exceptions/UserAlreadyExistsException.php @@ -1,19 +0,0 @@ -<?php -namespace PartKeepr\AuthBundle\Entity\User\Exceptions; - -use PartKeepr\PartKeepr; -use PartKeepr\Util\SerializableException; - -/** -* Is thrown when the user already exists. This usually happens -* if someone tries to create a user with the same name of an existing -* user. -*/ -class UserAlreadyExistsException extends SerializableException { - public function __construct ($username) { - parent::__construct( - sprintf( - PartKeepr::i18n("User %s already exists."), - $username)); - } -}- \ No newline at end of file diff --git a/src/PartKeepr/AuthBundle/Entity/User/Exceptions/UserDoesNotExistException.php b/src/PartKeepr/AuthBundle/Entity/User/Exceptions/UserDoesNotExistException.php @@ -1,17 +0,0 @@ -<?php -namespace PartKeepr\AuthBundle\Entity\User\Exceptions; - -use PartKeepr\PartKeepr; -use PartKeepr\Util\SerializableException; - -/** -* Is thrown when the user doesn't exist. -*/ -class UserDoesNotExistException extends SerializableException { - public function __construct ($username) { - parent::__construct( - sprintf( - PartKeepr::i18n("The user %s doesn't exist. Maybe the user was already deleted."), - $username)); - } -}- \ No newline at end of file