You are here

public static function FeedImportSQLHashes::deleteByFeed in Feed Import 7.3

Deletes all hashes for specified feed name

Parameters

string $name: Feed machine name

Overrides FeedImportStaticHashManager::deleteByFeed

File

feed_import_base/inc/feed_import.inc, line 1980
This file contains Feed Import helpers.

Class

FeedImportSQLHashes
This class implements SQL hash storage

Code

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