Skip to content

Commit 988288a

Browse files
author
dustinhuynh
committed
revert proper fix
1 parent 7a226b8 commit 988288a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

classes/local/hook/output/before_standard_head_html_generation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ class before_standard_head_html_generation {
3434
* @param \core\hook\output\before_standard_head_html_generation $hook
3535
*/
3636
public static function callback(\core\hook\output\before_standard_head_html_generation $hook): void {
37-
global $PAGE, $CFG;
38-
39-
require_once($CFG->dirroot . '/admin/tool/seo/lib.php');
37+
GLOBAL $PAGE;
4038

4139
// If URL should not be indexed, add the noindex meta tag to page.
4240
if (!seo::is_url_indexable($PAGE->url->get_path())) {

0 commit comments

Comments
 (0)