You are here

public static function FeedImportSQLHashes::deleteByFeed in Feed Import 8

Deletes all hashes for specified feed name

Parameters

string $name: Feed machine name

Overrides FeedImportStaticHashManager::deleteByFeed

File

feed_import_base/src/FeedImportSQLHashes.php, line 225

Class

FeedImportSQLHashes
This class implements SQL hash storage

Namespace

Drupal\feed_import_base

Code

public static function deleteByFeed($name) {
  db_delete('feed_import_hashes')
    ->condition('feed_machine_name', $name)
    ->execute();
}