aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
authorMaZderMind2016-09-03 19:50:34 +0200
committerMaZderMind2016-09-03 19:55:40 +0200
commit4e8fed0b773ad33e50017f498d40440592b7c4ef (patch)
tree256c9ac062e565933e85a7ccd212dca5f8852a84 /lib/helper.php
parent6ee36da3d945b9b412eddf97aba90c65b5664afa (diff)
accept ?forceopen=yes to force a conference open
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php8
1 files changed, 8 insertions, 0 deletions
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 '';
+}