From c01138c16b1c1c1e6223c87cdd7aeb0be6396f6b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 7 May 2014 00:06:04 +0200 Subject: [PATCH] Forgot 'new' before the Exception class --- plugins/OStatus/classes/FeedSub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } /** -- 2.39.5