diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-17 10:12:37 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-17 10:12:37 -0800 |
commit | e8275aa60abd381de9e95c29fd00819c81d3db79 (patch) | |
tree | 1c504de5ca6d34e52c64c6f67a6493c871589d6a /lib/statusnet.php | |
parent | 8e07926a9c0736b5a3f408465dded92676ac1862 (diff) |
Fix exception on bad plugin load
Diffstat (limited to 'lib/statusnet.php')
-rw-r--r-- | lib/statusnet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/statusnet.php b/lib/statusnet.php index 9c7ede5a5..257bd861d 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); } } |