more install time fixes for new admin code
This commit is contained in:
@@ -28,11 +28,7 @@ if (file_exists($CFG->dirroot . '/' . $CFG->admin . '/mysql/frame.php')) {
|
||||
|
||||
$ADMIN->add('root', new admin_category('unsorted', 'Unsorted', 999));
|
||||
|
||||
if (!isset($site)) {
|
||||
$site = get_site();
|
||||
}
|
||||
|
||||
$ADMIN->add('unsorted', new admin_externalpage('sitefiles', get_string('sitefiles'), $CFG->wwwroot . '/files/index.php?id=' . $site->id));
|
||||
$ADMIN->add('unsorted', new admin_externalpage('sitefiles', get_string('sitefiles'), $CFG->wwwroot . '/files/index.php?id=' . SITEID));
|
||||
$ADMIN->add('unsorted', new admin_externalpage('stickyblocks', get_string('stickyblocks'), $CFG->wwwroot . '/admin/stickyblocks.php'));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user