]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix exception on bad plugin load
authorBrion Vibber <brion@pobox.com>
Wed, 17 Feb 2010 18:12:37 +0000 (10:12 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 17 Feb 2010 18:12:37 +0000 (10:12 -0800)
lib/statusnet.php

index 9c7ede5a5d4fe50164ab533d03862c1fe98c3041..257bd861da61ff881af67e781049178b7d299cba 100644 (file)
@@ -63,7 +63,7 @@ class StatusNet
                 }
             }
             if (!class_exists($pluginclass)) {
-                throw new ServerException(500, "Plugin $name not found.");
+                throw new ServerException("Plugin $name not found.", 500);
             }
         }