diff --git a/libraries/core.lib.php b/libraries/core.lib.php index a68398a799..257fbc4dda 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -781,22 +781,6 @@ function PMA_addJSCode($str) $scripts->addCode($str); } -/** - * Adds JS code snippet for variable assignment - * to be displayed by the PMA\libraries\Response class. - * - * @param string $key Name of value to set - * @param mixed $value Value to set, can be either string or array of strings - * @param bool $escape Whether to escape value or keep it as it is - * (for inclusion of js code) - * - * @return void - */ -function PMA_addJSVar($key, $value, $escape = true) -{ - PMA_addJSCode(Sanitize::getJsValue($key, $value, $escape)); -} - /** * Replace some html-unfriendly stuff *