upgrades core to 8.4.2

This commit is contained in:
Bachir Soussi Chiadmi
2017-11-14 16:09:54 +01:00
parent bd60eff9b3
commit c2b4e25be4
3504 changed files with 140306 additions and 38684 deletions
@@ -9,6 +9,7 @@ source:
- statistics_enable_access_log
- statistics_flush_accesslog_timer
- statistics_count_content_views
source_module: statistics
process:
'count_content_views': statistics_count_content_views
destination:
@@ -131,7 +131,7 @@ class NodeStatisticsDatabaseStorage implements StatisticsStorageInterface {
public function maxTotalCount() {
$query = $this->connection->select('node_counter', 'nc');
$query->addExpression('MAX(totalcount)');
$max_total_count = (int)$query->execute()->fetchField();
$max_total_count = (int) $query->execute()->fetchField();
return $max_total_count;
}
+15
View File
@@ -0,0 +1,15 @@
/**
* @file
* Statistics functionality.
*/
(function ($, Drupal, drupalSettings) {
$(document).ready(() => {
$.ajax({
type: 'POST',
cache: false,
url: drupalSettings.statistics.url,
data: drupalSettings.statistics.data,
});
});
}(jQuery, Drupal, drupalSettings));
+3 -3
View File
@@ -8,8 +8,8 @@ configure: statistics.settings
dependencies:
- node
# Information added by Drupal.org packaging script on 2017-08-16
version: '8.3.7'
# Information added by Drupal.org packaging script on 2017-11-03
version: '8.4.2'
core: '8.x'
project: 'drupal'
datestamp: 1502903957
datestamp: 1509719929
+6 -7
View File
@@ -1,12 +1,11 @@
/**
* @file
* Statistics functionality.
*/
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal, drupalSettings) {
'use strict';
$(document).ready(function () {
$.ajax({
type: 'POST',
@@ -15,4 +14,4 @@
data: drupalSettings.statistics.data
});
});
})(jQuery, Drupal, drupalSettings);
})(jQuery, Drupal, drupalSettings);
@@ -8,8 +8,8 @@ dependencies:
- statistics
- views
# Information added by Drupal.org packaging script on 2017-08-16
version: '8.3.7'
# Information added by Drupal.org packaging script on 2017-11-03
version: '8.4.2'
core: '8.x'
project: 'drupal'
datestamp: 1502903957
datestamp: 1509719929
@@ -3,7 +3,7 @@
namespace Drupal\Tests\statistics\Functional;
use Drupal\Core\Cache\Cache;
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait;
/**
* Tests display of statistics report blocks.
@@ -4,8 +4,8 @@ description: 'Theme for testing attached library'
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2017-08-16
version: '8.3.7'
# Information added by Drupal.org packaging script on 2017-11-03
version: '8.4.2'
core: '8.x'
project: 'drupal'
datestamp: 1502903957
datestamp: 1509719929