]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Forgot 'new' before the Exception class
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 6 May 2014 22:06:04 +0000 (00:06 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 6 May 2014 22:06:04 +0000 (00:06 +0200)
plugins/OStatus/classes/FeedSub.php

index 6e0005778dc84cf70f4fa164a3daf0ecb9c9e60f..cfbc36508b4e5799c680ecac6125a77fa2bd2d97 100644 (file)
@@ -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.");
     }
 
     /**