MDL-17267 fixed regression caused by my last commit

This commit is contained in:
skodak
2008-11-19 14:43:38 +00:00
parent 627d326ade
commit 0ecff22d84
2 changed files with 19 additions and 23 deletions
+1 -5
View File
@@ -220,11 +220,7 @@ global $HTTPSPAGEREQUIRED;
// define SYSCONTEXTID in config.php if you want to save some queries (after install or upgrade!)
if (!defined('SYSCONTEXTID')) {
try {
get_system_context();
} catch (dml_read_exception $e) {
// not available yet
}
get_system_context();
}
/// Set error reporting back to normal