]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix order of params on 'plugin not found' exception
authorBrion Vibber <brion@status.net>
Mon, 18 Jan 2010 17:28:58 +0000 (09:28 -0800)
committerBrion Vibber <brion@status.net>
Mon, 18 Jan 2010 17:28:58 +0000 (09:28 -0800)
lib/statusnet.php

index 29e9030267c0d6ad9e9fa0db5f897a661e773129..beeb26cccdccb182777682be0b875d8c8035f2e1 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);
             }
         }