Skip to content

Commit e2bf052

Browse files
committed
hallucination fix
1 parent 07cd140 commit e2bf052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SpojeNet/Cnb/ExchangeRate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function storeDay(int $dayBack = 0): void {
111111
}
112112

113113
public function dropOlder(int $days): void {
114-
if($this->dropFromSQL(['date' => ['<' => self::dateBeforeDays($days)]]) > 0){
114+
if($this->deleteFromSQL(['date' => ['<' => self::dateBeforeDays($days)]]) > 0){
115115
$this->addStatusMessage(sprintf(_('Dropped rates older than %d days'), $days), 'success');
116116
}
117117
}

0 commit comments

Comments
 (0)