diff options
author | Alib <aliboba@free.fr> | 2010-03-17 16:46:16 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-17 16:46:16 +0100 |
commit | 1a6f00a22c4f27b4c2c830cb57a98689563d4fff (patch) | |
tree | 241cc6c78a837af6f2d1160f639886b4be429a6e | |
parent | 566721149b851b6a97e3d186aae78bd4eefceafb (diff) | |
parent | 8b78f1ac29e4d29a574725f1a927148526374745 (diff) | |
download | istreamdev-1a6f00a22c4f27b4c2c830cb57a98689563d4fff.tar.gz istreamdev-1a6f00a22c4f27b4c2c830cb57a98689563d4fff.tar.bz2 |
Merge branch 'jquery' of projects.vdr-developer.org:istreamdev into jquery
-rwxr-xr-x | bin/jsonapi.php | 5 |
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); } |