src/Administration.php
public function deleteUserByEmail($email) {
		$email = self::validateEmailAddress($email);

		$numberOfDeletedUsers = $this->deleteUsersByColumnValue('email', $email);

		if ($numberOfDeletedUsers === 0) {
			throw new InvalidEmailException();
		}
	}
public function deleteUserByEmail($email) {
		$email = self::validateEmailAddress($email);

		$numberOfDeletedUsers = $this->deleteUsersByColumnValue('email', $email);

		if ($numberOfDeletedUsers === 0) {
			throw new InvalidEmailException();
		}
	}
public function deleteUserByEmail ( $ email ) { $ email = self :: validateEmailAddress ( $ email ) ; $ numberOfDeletedUsers = $ this -> deleteUsersByColumnValue ( 'email' , $ email ) ; if ( $ numberOfDeletedUsers === 0 ) { throw new InvalidEmailException ( ) ; } }
Deletes the user with the specified email address

This action cannot be undone

@param string $email the email address of the user to delete
@throws InvalidEmailException if no user with the specified email address has been found
@throws AuthError if an internal problem occurred (do *not* catch)
Deletes the user with the specified email address