summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-17 16:46:16 +0100
committerAlib <aliboba@free.fr>2010-03-17 16:46:16 +0100
commit1a6f00a22c4f27b4c2c830cb57a98689563d4fff (patch)
tree241cc6c78a837af6f2d1160f639886b4be429a6e
parent566721149b851b6a97e3d186aae78bd4eefceafb (diff)
parent8b78f1ac29e4d29a574725f1a927148526374745 (diff)
downloadistreamdev-1a6f00a22c4f27b4c2c830cb57a98689563d4fff.tar.gz
istreamdev-1a6f00a22c4f27b4c2c830cb57a98689563d4fff.tar.bz2
Merge branch 'jquery' of projects.vdr-developer.org:istreamdev into jquery
-rwxr-xr-xbin/jsonapi.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php
index ffcc9e6..dcc3dd4 100755
--- a/bin/jsonapi.php
+++ b/bin/jsonapi.php
@@ -77,7 +77,10 @@ function stopBroadcast($session)
{
$ret = array();
- $ret = sessiondelete("session" .$session);
+ if ($session == "all")
+ $ret = sessiondelete($session);
+ else
+ $ret = sessiondelete("session" .$session);
return json_encode($ret);
}