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

#649552 rsoden: Provide variable for data table name.

parent 100445c8
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
Feeds 6.x 1.0 xxxx, 200x-xx-xx
------------------------------
- #649552 rsoden: Provide variable for data table name.
- #631962 velosol, alex_b: FeedsNodeProcessor: Update when changed.
- #623452 mongolito404: Port basic test infrastructure for mappers, test for
basic CCK mapper.
......
......@@ -117,10 +117,17 @@ Description: The number of feeds to import on cron time.
Name: feeds_schedule_queue_num
Default: 200
The number of feeds to queue on cron time. Only has an effect if
Description: The number of feeds to queue on cron time. Only has an effect if
Drupal Queue is enabled.
http://drupal.org/project/drupal_queue
Name: feeds_data_$importer_id
Default: feeds_data_$importer_id
Description: The table used by FeedsDataProcessor to store feed items. Usually a
FeedsDataProcessor builds a table name from a prefix (feeds_data_)
and the importer's id ($importer_id). This default table name can
be overridden by defining a variable with the same name.
Glossary
========
......
......@@ -269,7 +269,7 @@ class FeedsDataProcessor extends FeedsProcessor {
* Return the data table name for this feed.
*/
protected function tableName() {
return 'feeds_data_'. $this->id;
return variable_get('feeds_data_'. $this->id, 'feeds_data_'. $this->id);
}
/**
......
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