summaryrefslogtreecommitdiffstats
path: root/server/localplay.ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/localplay.ajax.php')
-rw-r--r--server/localplay.ajax.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/localplay.ajax.php b/server/localplay.ajax.php
index 49212bfd..cefa8009 100644
--- a/server/localplay.ajax.php
+++ b/server/localplay.ajax.php
@@ -67,6 +67,18 @@ switch ($_REQUEST['action']) {
} // end whitelist
break;
+ case 'delete_instance':
+ // Make sure that you have access to do this... again I really
+ // don't know what that means so I'm just going to do nothing fo now
+
+
+ // Scrub it in
+ $localplay = new Localplay($GLOBALS['user']->prefs['localplay_controller']);
+ $localplay->delete_instance($_REQUEST['instance']);
+
+ $key = 'localplay_instance_' . $_REQUEST['instance'];
+ $results[$key] = '';
+ break;
default:
$results['rfc3514'] = '0x1';
break;