Skip to content
Snippets Groups Projects
Commit 8211134b authored by Alex Barth's avatar Alex Barth
Browse files

Remove some air.

parent 5c73fd32
No related branches found
No related tags found
No related merge requests found
...@@ -50,14 +50,12 @@ class FeedsTermProcessor extends FeedsProcessor { ...@@ -50,14 +50,12 @@ class FeedsTermProcessor extends FeedsProcessor {
$term['importer_id'] = $this->id; $term['importer_id'] = $this->id;
$term['feed_nid'] = $this->feed_nid; $term['feed_nid'] = $this->feed_nid;
taxonomy_save_term($term); taxonomy_save_term($term);
if ($tid) { if ($tid) {
$updated++; $updated++;
} }
else { else {
$created++; $created++;
} }
} }
} }
...@@ -103,7 +101,6 @@ class FeedsTermProcessor extends FeedsProcessor { ...@@ -103,7 +101,6 @@ class FeedsTermProcessor extends FeedsProcessor {
$deleted++; $deleted++;
} }
} }
// Set messages. // Set messages.
if ($deleted) { if ($deleted) {
drupal_set_message(format_plural($deleted, 'Deleted @number term from !vocabulary.', 'Deleted @number terms from !vocabulary.', array('@number' => $deleted, '!vocabulary' => $vocabulary->name))); drupal_set_message(format_plural($deleted, 'Deleted @number term from !vocabulary.', 'Deleted @number terms from !vocabulary.', array('@number' => $deleted, '!vocabulary' => $vocabulary->name)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment