MDL-58624 persistent: Use correct namespace for exception

This commit is contained in:
Ankit Agarwal
2017-04-18 13:54:45 +05:30
parent 0714bcb2a2
commit f939ae13f9
+1 -1
View File
@@ -60,7 +60,7 @@ abstract class persistent extends \core\persistent {
} else if (strpos($method, 'set_') === 0) {
return $this->set(substr($method, 4), $arguments[0]);
}
throw new coding_exception('Unexpected method call: ' . $method);
throw new \coding_exception('Unexpected method call: ' . $method);
}
}