Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
64 | public function actionTrim(): int |
||
65 | { |
||
66 | echo Craft::t('retour', 'Trimming statistics') . PHP_EOL; |
||
67 | $affectedRows = Retour::$plugin->statistics->trimStatistics($this->limit); |
||
68 | echo Craft::t( |
||
69 | 'retour', |
||
70 | 'Trimmed {rows} from retour_stats table', |
||
71 | ['rows' => $affectedRows] |
||
72 | ) . PHP_EOL; |
||
73 | |||
74 | return 0; |
||
75 | } |
||
80 |