Fix order of params on 'plugin not found' exception

This commit is contained in:
Brion Vibber 2010-01-18 09:28:58 -08:00
parent d501acf438
commit 3bf4056055

View File

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