From 187f024a7c82b276e9df3504bdc4c1902f8c0f94 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 3 Mar 2015 13:36:05 +0100 Subject: Remove unused Functions --- lib/helper.php | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'lib') diff --git a/lib/helper.php b/lib/helper.php index 7a652cd..50d381d 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -51,34 +51,6 @@ function link_vod($id) return 'relive/'.rawurlencode($id).'/'; } -function streamname($room) -{ - switch($room) - { - case 'saal1': return 's1'; - case 'saal2': return 's2'; - case 'saalg': return 's3'; - case 'saal6': return 's4'; - case 'sendezentrum': return 's5'; - default: return $room; - } -} - -function irc_channel($room) -{ - return '31C3-hall-'.strtoupper(substr($room, 4, 1)); -} - -function twitter_hashtag($room) -{ - return '#hall'.strtoupper(substr($room, 4, 1)); -} - -function format_text($format) -{ - return @$GLOBALS['CONFIG']['FORMAT_TEXT'][$format] ?: ''; -} - function baseurl() { if(isset($GLOBALS['CONFIG']['baseurl'])) -- cgit v1.2.3