Commit 1b79de3d authored by webchick's avatar webchick

Issue #2221923 by tstoeckler: Use \Exception instead of Exception in config_get_config_directory().

parent 21733e48
...@@ -337,7 +337,7 @@ function config_get_config_directory($type = CONFIG_ACTIVE_DIRECTORY) { ...@@ -337,7 +337,7 @@ function config_get_config_directory($type = CONFIG_ACTIVE_DIRECTORY) {
if (!empty($config_directories[$type])) { if (!empty($config_directories[$type])) {
return $config_directories[$type]; return $config_directories[$type];
} }
throw new Exception(format_string('The configuration directory type %type does not exist.', array('%type' => $type))); throw new \Exception(format_string('The configuration directory type %type does not exist.', array('%type' => $type)));
} }
/** /**
......
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