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
1 changed files with 1 additions and 1 deletions

View 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);
}
}