]> git.mjollnir.org Git - moodle.git/commitdiff
message MDL-19801 Fixed deprecated call to current_theme
authorSam Hemelryk <sam@moodle.com>
Mon, 7 Dec 2009 05:58:37 +0000 (05:58 +0000)
committerSam Hemelryk <sam@moodle.com>
Mon, 7 Dec 2009 05:58:37 +0000 (05:58 +0000)
message/discussion.php

index 15ed8d13d04a2e19ebb6408d4cdb5ccd607cca6d..f391a123e496ba7e82a816b7e5fe60623b05a20e 100644 (file)
@@ -72,7 +72,7 @@
      <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title><?php echo get_string('discussion', 'message').': '.fullname($user) ?></title>
-       <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
+       <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.$PAGE->theme->name; ?>/favicon.ico" />
      </head>
      <frameset rows="110,*,0,220">
        <noframes><body><?php