Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -11,23 +11,23 @@
// Update the default category to that it is not selected.
db_update('contact')
->fields(array('selected' => '0'))
->fields(['selected' => '0'])
->condition('cid', '1')
->execute();
// Add a custom contact category.
db_insert('contact')->fields(array(
db_insert('contact')->fields([
'category',
'recipients',
'reply',
'weight',
'selected'
))
->values(array(
])
->values([
'category' => 'Upgrade test',
'recipients' => 'test1@example.com,test2@example.com',
'reply' => 'Test reply',
'weight' => 1,
'selected' => 1,
))
])
->execute();