kopia lustrzana https://github.com/magicbug/Cloudlog
Add timestamp to 'cat' update, to enforce timestamp update in mysql when other values have not changed.
rodzic
b4a01660b7
commit
b18e1013f3
|
@ -41,6 +41,7 @@
|
|||
$data = array(
|
||||
'frequency' => $result['frequency'],
|
||||
'mode' => $result['mode'],
|
||||
'timestamp' => $result['timestamp'],
|
||||
);
|
||||
|
||||
$this->db->where('id', $radio_id);
|
||||
|
@ -65,7 +66,8 @@
|
|||
$data = array(
|
||||
'radio' => $result['radio'],
|
||||
'frequency' => $result['frequency'],
|
||||
'mode' => $result['mode']
|
||||
'mode' => $result['mode'],
|
||||
'timestamp' => $result['timestamp'],
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -115,4 +117,4 @@
|
|||
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Ładowanie…
Reference in New Issue