Issue #2353813 by phenaproxima, quietone, talhaparacha, hosef: Migration path for Update 7.x

8.0.x
webchick 2015-11-12 13:56:30 -08:00
parent 19e1f2f108
commit d3f6df825e
3 changed files with 23 additions and 2 deletions

View File

@ -41539,10 +41539,30 @@ $connection->insert('variable')
'name' => 'tracker_batch_size', 'name' => 'tracker_batch_size',
'value' => 'i:999;', 'value' => 'i:999;',
)) ))
->values(array(
'name' => 'update_check_frequency',
'value' => 'i:1;',
))
->values(array(
'name' => 'update_fetch_url',
'value' => 's:23:"http://127.0.0.1/update";',
))
->values(array( ->values(array(
'name' => 'update_last_check', 'name' => 'update_last_check',
'value' => 'i:1444944973;', 'value' => 'i:1444944973;',
)) ))
->values(array(
'name' => 'update_max_fetch_attempts',
'value' => 'i:3;',
))
->values(array(
'name' => 'update_notification_threshold',
'value' => 's:3:"all";',
))
->values(array(
'name' => 'update_notify_emails',
'value' => 'a:1:{i:0;s:19:"webmaster@127.0.0.1";}',
))
->values(array( ->values(array(
'name' => 'user_admin_role', 'name' => 'user_admin_role',
'value' => 's:1:"3";', 'value' => 's:1:"3";',

View File

@ -1,7 +1,8 @@
id: d6_update_settings id: update_settings
label: Update configuration label: Update configuration
migration_tags: migration_tags:
- Drupal 6 - Drupal 6
- Drupal 7
source: source:
plugin: variable plugin: variable
variables: variables:

View File

@ -29,7 +29,7 @@ class MigrateUpdateConfigsTest extends MigrateDrupal6TestBase {
*/ */
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
$this->executeMigration('d6_update_settings'); $this->executeMigration('update_settings');
} }
/** /**