diff options
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -90,17 +90,9 @@ class PHPFSPOT_RPC { $fspot->showCredits(); break; - case 'tag_search': + case 'search': - $fspot->resetDateSearch(); - $fspot->startTagSearch($_GET['for']); - break; - - case 'date_search': - - $fspot->resetTagSearch(); - $fspot->resetTags(); - $fspot->startDateSearch($_GET['from'], $_GET['to']); + $fspot->startSearch($_GET['for'], $_GET['from'], $_GET['to']); break; case 'get_export': |