You are here

public static function FeedImportSQLHashes::deleteByGroup in Feed Import 8

Deletes all hashes of specified group

Parameters

string $group: Group name

Overrides FeedImportStaticHashManager::deleteByGroup

File

feed_import_base/src/FeedImportSQLHashes.php, line 234

Class

FeedImportSQLHashes
This class implements SQL hash storage

Namespace

Drupal\feed_import_base

Code

public static function deleteByGroup($group) {
  db_delete('feed_import_hashes')
    ->condition('feed_group', $group)
    ->execute();
}