cc-4105: added event packing to event objects

This commit is contained in:
Rudi Grinberg 2012-07-27 10:27:30 -04:00
parent be00cc6990
commit 3422eb3cc0
5 changed files with 26 additions and 4 deletions

View file

@ -468,6 +468,7 @@ class ApiController extends Zend_Controller_Action
);
}
Application_Model_Preference::SetImportTimestamp();
Logging::log("--->Mode: $mode and file: {$md['MDATA_KEY_FILEPATH']} ");
if ($mode == "create") {
$filepath = $md['MDATA_KEY_FILEPATH'];
$filepath = Application_Common_OsPath::normpath($filepath);
@ -539,6 +540,7 @@ class ApiController extends Zend_Controller_Action
return $return_hash;
}
$return_hash['fileid'] = $file->getId();
Logging::log("Have we returned jack shit???");
return $return_hash;
}
@ -591,6 +593,7 @@ class ApiController extends Zend_Controller_Action
$this->uploadRecordedActionParam($info_json['showinstanceid'],$info_json['fileid'],$dry_run=$dry);
}
}
Logging::log("returning response ><<><><><><><><");
die( json_encode($responses) );
}