From e9e4190b64e0b43ca31a09925dc5a429881fadaa Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 10 Mar 2014 00:30:41 +0100 Subject: [PATCH] IrcManager does not have serverError, so it must throw ServerException --- plugins/Irc/lib/ircmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Irc/lib/ircmanager.php b/plugins/Irc/lib/ircmanager.php index 3dae68d133..021fe190e3 100644 --- a/plugins/Irc/lib/ircmanager.php +++ b/plugins/Irc/lib/ircmanager.php @@ -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.')); } } } -- 2.39.5