We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cd140 commit e2bf052Copy full SHA for e2bf052
src/SpojeNet/Cnb/ExchangeRate.php
@@ -111,7 +111,7 @@ public function storeDay(int $dayBack = 0): void {
111
}
112
113
public function dropOlder(int $days): void {
114
- if($this->dropFromSQL(['date' => ['<' => self::dateBeforeDays($days)]]) > 0){
+ if($this->deleteFromSQL(['date' => ['<' => self::dateBeforeDays($days)]]) > 0){
115
$this->addStatusMessage(sprintf(_('Dropped rates older than %d days'), $days), 'success');
116
117
0 commit comments