forked from GNUsocial/gnu-social
IrcManager does not have serverError, so it must throw ServerException
This commit is contained in:
parent
c00491cd7a
commit
e9e4190b64
@ -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.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user