cc-4105: clean up url construction in api client

This commit is contained in:
Rudi Grinberg 2012-07-13 16:32:17 -04:00 committed by Martin Konecny
parent 0fd6c4adbf
commit 44d91f7798
4 changed files with 15 additions and 8 deletions

View file

@ -550,9 +550,12 @@ class ApiController extends Zend_Controller_Action
//The key does not have any meaning as of yet but it could potentially correspond
//to some unique id.
$responses = array();
Logging::log("inside reloadMetadataGroupAction");
return;
foreach ($request->getRequest()->getParams() as $action => $raw_json) {
$info_json = json_decode($raw_json, $assoc=true);
array_push($responses, $this->dispatchMetaDataAction($info_json, $info_json['mode']));
Logging::log( $info_json );
}
// TODO : do something with $responses here instead of doing nothing
}