Skip to content

Commit

Permalink
Pas besoin de vérifier la présence d'un badge pour créer un compte
Browse files Browse the repository at this point in the history
  • Loading branch information
apuyou committed Jul 5, 2013
1 parent 8a42823 commit 8051fc0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Payutc/Bom/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,6 @@ public static function createAndGetNewUser($login) {
throw new GingerFailure($ex);
}

// Check that the user has a card
if(empty($gingerUser->badge_uid)){
throw new GingerFailure("L'utilisateur n'a pas de badge déclaré. Contactez [email protected]");
}

// Add the user to payutc
Db::conn()->insert('ts_user_usr', array(
'usr_firstname' => $gingerUser->prenom,
Expand Down

0 comments on commit 8051fc0

Please sign in to comment.