mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
fixed wrong error string
This commit is contained in:
parent
dd5cb0b5c3
commit
45440ceb61
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class upgrade_exception extends moodle_exception {
|
|||
function __construct($plugin, $version) {
|
||||
global $CFG;
|
||||
$a = (object)array('plugin'=>$plugin, 'version'=>$version);
|
||||
parent::__construct('upgradeerror', 'error', "$CFG->wwwroot/$CFG->admin/index.php", $a);
|
||||
parent::__construct('upgradeerror', 'admin', "$CFG->wwwroot/$CFG->admin/index.php", $a);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue