public function SqlRedirectNotFoundStorage::resetDailyCount in Redirect 8
Resets the daily counts of 404 request logs.
Overrides RedirectNotFoundStorageInterface::resetDailyCount
File
- modules/
redirect_404/ src/ SqlRedirectNotFoundStorage.php, line 167
Class
- SqlRedirectNotFoundStorage
- Provides an SQL implementation for redirect not found storage.
Namespace
Drupal\redirect_404Code
public function resetDailyCount() {
$this->database
->update('redirect_404')
->fields([
'daily_count' => 0,
])
->execute();
}