aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Exceptions.php3
-rw-r--r--lib/helper.php10
2 files changed, 3 insertions, 10 deletions
diff --git a/lib/Exceptions.php b/lib/Exceptions.php
new file mode 100644
index 0000000..d5a4600
--- /dev/null
+++ b/lib/Exceptions.php
@@ -0,0 +1,3 @@
+<?php
+
+class NotFoundException extends Exception {}
diff --git a/lib/helper.php b/lib/helper.php
index d23eb35..640651b 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -2,16 +2,6 @@
require_once('program.php');
-function link_index()
-{
- return '';
-}
-
-function link_room($room)
-{
- return rawurlencode($room).'/';
-}
-
function link_player($room, $format = 'video', $translated = false)
{
$defaultformat = room_has_hd($room) ? 'hd' : 'sd';