diff --git a/libraries/Util.php b/libraries/Util.php index 226ffaf886..60f65f5ce1 100644 --- a/libraries/Util.php +++ b/libraries/Util.php @@ -2862,26 +2862,11 @@ class Util */ public static function getDivForSliderEffect($id = '', $message = '') { - if ($GLOBALS['cfg']['InitialSlidersState'] == 'disabled') { - return ''; - } - /** - * Bad hack on the next line. document.write() conflicts with jQuery, - * hence, opening the
with PHP itself instead of JavaScript. - * - * @todo find a better solution that uses $.append(), the recommended - * method maybe by using an additional param, the id of the div to - * append to - */ - - return '