days: remove rootid from response
parent
46f9920d8c
commit
c6a4b4e3e9
|
@ -266,9 +266,6 @@ trait TimelineQueryDays
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($day as &$row) {
|
foreach ($day as &$row) {
|
||||||
// We don't need date taken (see query builder)
|
|
||||||
unset($row['datetaken']);
|
|
||||||
|
|
||||||
// Convert field types
|
// Convert field types
|
||||||
$row['fileid'] = (int) $row['fileid'];
|
$row['fileid'] = (int) $row['fileid'];
|
||||||
$row['isvideo'] = (int) $row['isvideo'];
|
$row['isvideo'] = (int) $row['isvideo'];
|
||||||
|
@ -303,6 +300,10 @@ trait TimelineQueryDays
|
||||||
|
|
||||||
// All transform processing
|
// All transform processing
|
||||||
$this->processFace($row);
|
$this->processFace($row);
|
||||||
|
|
||||||
|
// We don't need these fields
|
||||||
|
unset($row['datetaken']);
|
||||||
|
unset($row['rootid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $day;
|
return $day;
|
||||||
|
|
Loading…
Reference in New Issue