Fix order of params on 'plugin not found' exception
This commit is contained in:
parent
d501acf438
commit
3bf4056055
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user