- improved map export, removed unnecessary JSON data

- fixed bug where "updated" table column is not set on insert
This commit is contained in:
Exodus4D
2016-08-06 00:06:20 +02:00
parent 1c9c9f4563
commit 444d50698e
6 changed files with 53 additions and 37 deletions

View File

@@ -411,6 +411,9 @@ abstract class BasicModel extends \DB\Cortex {
* return false will stop any further action
*/
public function beforeInsertEvent(){
if($this->exists('updated')){
$this->touch('updated');
}
return true;
}