You are here

public function FeedsImporter::delete in Feeds 7.2

Same name and namespace in other branches
  1. 6 includes/FeedsImporter.inc \FeedsImporter::delete()
  2. 7 includes/FeedsImporter.inc \FeedsImporter::delete()

Deletes configuration.

Removes configuration information from database, does not delete configuration itself.

File

includes/FeedsImporter.inc, line 150
FeedsImporter class and related.

Class

FeedsImporter
Class for a Feeds importer.

Code

public function delete() {
  db_delete('feeds_importer')
    ->condition('id', $this->id)
    ->execute();
  feeds_reschedule($this->id);
}