summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-01-18 09:28:58 -0800
committerBrion Vibber <brion@status.net>2010-01-18 09:28:58 -0800
commit3bf4056055fd5f278db8b8a46f4e524889483266 (patch)
tree9b78794dea81d9651c86f4070004c8433d5b5ab0 /lib
parentd501acf4388e936d1b793e2516393d78809b700d (diff)
Fix order of params on 'plugin not found' exception
Diffstat (limited to 'lib')
-rw-r--r--lib/statusnet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/statusnet.php b/lib/statusnet.php
index 29e903026..beeb26ccc 100644
--- a/lib/statusnet.php
+++ b/lib/statusnet.php
@@ -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);
}
}