MDL-58624 persistent: Use correct namespace for exception
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user