From bc05888a879b6fe75bd5094361a6bdbfd2760a17 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 16 Jul 2019 13:40:54 +0200 Subject: [inc/Render] Remove legacy functions --- inc/render.inc.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/inc/render.inc.php b/inc/render.inc.php index b8f911ed..f8f9e56b 100644 --- a/inc/render.inc.php +++ b/inc/render.inc.php @@ -151,26 +151,6 @@ class Render self::$footer .= $html . "\n"; } - /** - * Add given js script file from the script directory to the header - * - * @param string $file file name of script - */ - public static function addScriptTop($file) - { - trigger_error('Ignoring addScriptTop for ' . $file . ': Deprecated, use module-specific clientscript.js', E_USER_WARNING); - } - - /** - * Add given js script file from the script directory to the bottom - * - * @param string $file file name of script - */ - public static function addScriptBottom($file) - { - trigger_error('Ignoring addScriptBottom for ' . $file . ': Deprecated, use module-specific clientscript.js', E_USER_WARNING); - } - /** * Add the given template to the output, using the given params for placeholders in the template */ -- cgit v1.2.3-55-g7522