Example #1
0
 public static function CheckIfEmailExists($email)
 {
     try {
         $result = User::FindByEmail($email);
         return true;
     } catch (NotFoundException $e) {
         return false;
     }
 }