$start = date('Y-m-d H:i:s', strtotime($notify->act_start . ' - 1 DAY'));
$end = date('Y-m-d H:i:s', strtotime($notify->act_start));
+ $object = null;
+ $branch = null;
+ if ($imp->shortname == 'greengarden') {
+ $object = 'branch';
+ $branch = 'roojs';
+ }
+
//$this->impl()->debug=1;
- $res = $this->impl()->history('.', array('since'=> '{'.$start.'}' , 'before' => '{'.$end .'}'));
+ $res = $this->impl()->history('.', array('since'=> '{'.$start.'}' , 'before' => '{'.$end .'}'), $object, $branch);
// find the last rev the day before...
+
+
$obj = $this->historyToSummary($res, $notify->act_start);
if (!$obj) {
return true;