$cg->commitby = ($last && $cg->changeby == $last->changeby) ?
'' : $cg->changeby;
-
+
+ // files array is an array of SVMFileEvents + an ocasionaly stdClass?
$cg->files_array = ($last &&
- implode('|', $cg->files_array) == implode('|', $last->files_array)
+ serialize($cg->files_array) == serialize($last->files_array)
) ? array() : $cg->files_array;
$last = $cg;
if (isset($req['uploads'])) {
$this->updateUploads(json_decode($req['uploads']), $roo);
}
+ // in theory this should trigger a timesheet log that we have started working on something.
+
+
+
}
function updateUploads($uploads, $roo)