From 3e7455bbb66aa485bdf9333036db4b7005737d1a Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Fri, 28 Oct 2016 10:42:11 +0200 Subject: [PATCH] Remove unused functions --- main/inc/lib/display.lib.php | 24 +++-------------------- tests/main/inc/lib/display.lib.test.php | 13 ------------ tests/phpunit/classes/DisplayTest.lib.php | 24 ----------------------- 3 files changed, 3 insertions(+), 58 deletions(-) diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 3f2f722785..74b231417b 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -634,19 +634,6 @@ class Display return ''.$icon_html_source.''; } - /** - * Creates a hyperlink to the platform homepage. - * @param string $name, the visible name of the hyperlink, default is sitename - * @return string with html code for hyperlink - */ - public static function get_platform_home_link_html($name = '') - { - if ($name == '') { - $name = api_get_setting('siteName'); - } - return ''.$name.''; - } - /** * Prints an