IrcManager does not have serverError, so it must throw ServerException

This commit is contained in:
Mikael Nordfeldth 2014-03-10 00:30:41 +01:00
parent c00491cd7a
commit e9e4190b64
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class IrcManager extends ImManager {
if (!$result) {
common_log_db_error($confirm, 'DELETE', __FILE__);
// TRANS: Server error thrown on database error when deleting IRC nickname confirmation.
$this->serverError(_m('Could not delete confirmation.'));
throw new ServerException(_m('Could not delete confirmation.'));
}
}
}