Commit 644f56fe authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Revert a mahoodle debugging change that was swallowing all exceptions in static methods

parent 5d07f406
......@@ -803,11 +803,7 @@ function call_static_method($class, $method) {
$args = func_get_args();
try {
return call_user_func_array(array($class, $method), $args);
} catch(Exception $e) {
throw new Exception("Method not static");
function generate_class_name() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment