Skip to content

Commit

Permalink
Sync from Bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
fryckbos committed Nov 29, 2016
1 parent bc7cef7 commit df81673
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/code/community/CoScale/Monitor/Model/Resource/Metric.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,9 @@ public function loadByKey(CoScale_Monitor_Model_Metric $metric, $key, $store)

return $this;
}

public function truncate() {
$this->_getWriteAdapter()->query('TRUNCATE TABLE '.$this->getMainTable());
return $this;
}
}
2 changes: 1 addition & 1 deletion app/code/community/CoScale/Monitor/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<CoScale_Monitor>
<version>0.17.0</version>
<version>0.17.1</version>
</CoScale_Monitor>
</modules>
<global>
Expand Down

0 comments on commit df81673

Please sign in to comment.