From 4e8fed0b773ad33e50017f498d40440592b7c4ef Mon Sep 17 00:00:00 2001
From: MaZderMind
Date: Sat, 3 Sep 2016 19:50:34 +0200
Subject: accept ?forceopen=yes to force a conference open

---
 lib/helper.php | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'lib')

diff --git a/lib/helper.php b/lib/helper.php
index 170d224..4fce91e 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -100,3 +100,11 @@ function days_diff_readable($date)
 
 	return "in $days days";
 }
+
+function url_params()
+{
+	if($GLOBALS['forceopen'])
+		return '?forceopen=yess';
+
+	return '';
+}
-- 
cgit v1.2.3