From 98f1034ccd8f27848872bc990979e54c42977e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Massart?= Date: Tue, 4 Oct 2016 10:41:15 +0200 Subject: [PATCH] MDL-56254 theme_boost: Cannot use $this as function parameter --- theme/boost/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/boost/lib.php b/theme/boost/lib.php index 0b3dad7e7fe..72776d5b820 100644 --- a/theme/boost/lib.php +++ b/theme/boost/lib.php @@ -30,7 +30,7 @@ defined('MOODLE_INTERNAL') || die(); * @param string $tree The CSS tree. * @param theme_config $theme The theme config object. */ -function theme_boost_css_tree_post_processor($tree, $this) { +function theme_boost_css_tree_post_processor($tree, $theme) { $prefixer = new theme_boost\autoprefixer($tree); $prefixer->prefix(); }