From 984b068b1369819a44bbfc4412476da0da49607f Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Tue, 17 Jul 2007 20:24:56 +0000 Subject: issue50, further code changes to be able to combine tag- and date-search git-svn-id: file:///var/lib/svn/phpfspot/trunk@219 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- rpc.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'rpc.php') diff --git a/rpc.php b/rpc.php index 2e30459..5d9bb37 100644 --- a/rpc.php +++ b/rpc.php @@ -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': -- cgit v1.2.3-18-g5258