From f939ae13f9b1125d6477a77e46d96da8bd78f119 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Tue, 18 Apr 2017 13:54:45 +0530 Subject: [PATCH] MDL-58624 persistent: Use correct namespace for exception --- competency/classes/persistent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/competency/classes/persistent.php b/competency/classes/persistent.php index 61e6159c93012..6e1223dfdd147 100644 --- a/competency/classes/persistent.php +++ b/competency/classes/persistent.php @@ -60,7 +60,7 @@ final public function __call($method, $arguments) { } 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); } }