From: Brion Vibber Date: Mon, 18 Jan 2010 17:28:58 +0000 (-0800) Subject: Fix order of params on 'plugin not found' exception X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3bf4056055fd5f278db8b8a46f4e524889483266;p=quix0rs-gnu-social.git Fix order of params on 'plugin not found' exception --- diff --git a/lib/statusnet.php b/lib/statusnet.php index 29e9030267..beeb26cccd 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); } }