From: Mikael Nordfeldth Date: Tue, 6 May 2014 22:06:04 +0000 (+0200) Subject: Forgot 'new' before the Exception class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c01138c16b1c1c1e6223c87cdd7aeb0be6396f6b;p=quix0rs-gnu-social.git Forgot 'new' before the Exception class --- diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index 6e0005778d..cfbc36508b 100644 --- a/plugins/OStatus/classes/FeedSub.php +++ b/plugins/OStatus/classes/FeedSub.php @@ -372,7 +372,7 @@ class FeedSub extends Managed_DataObject // Throw the Exception again. throw $e; } - throw ServerException("{$mode} request failed."); + throw new ServerException("{$mode} request failed."); } /**