From db64fd6b1cb4eb22ce388ffc8b83ae510415bb1a Mon Sep 17 00:00:00 2001 From: Daniel Neis Araujo Date: Fri, 14 Mar 2014 18:31:29 -0300 Subject: [PATCH] MDL-44650 Remove invalid meta tags "pragma" and "expires" --- lib/installlib.php | 5 +---- lib/outputrenderers.php | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/installlib.php b/lib/installlib.php index bcfc7181e51..8e7697d5932 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -278,10 +278,7 @@ function install_print_help_page($help) { '.get_string('installation','install').' - - '; - - echo ''; + '; switch ($help) { case 'phpversionhelp': print_string($help, 'install', phpversion()); diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 904708ce645..9f4d8e45637 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -364,10 +364,6 @@ class core_renderer extends renderer_base { $output = ''; $output .= '' . "\n"; $output .= '' . "\n"; - if (!$this->page->cacheable) { - $output .= '' . "\n"; - $output .= '' . "\n"; - } // This is only set by the {@link redirect()} method $output .= $this->metarefreshtag;