function SpoolStorageInterface::clear in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::clear()
- 3.x src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::clear()
Remove old records from mail spool table.
All records with status 'send' and time stamp before the expiration date are removed from the spool.
Return value
int Number of deleted spool rows.
1 method overrides SpoolStorageInterface::clear()
- SpoolStorage::clear in src/
Spool/ SpoolStorage.php - Remove old records from mail spool table.
File
- src/
Spool/ SpoolStorageInterface.php, line 97
Class
- SpoolStorageInterface
- The spool storage manages a queue of mails that need to be sent.
Namespace
Drupal\simplenews\SpoolCode
function clear();