updated core to 7.56, secutity update
This commit is contained in:
@@ -6,8 +6,8 @@ core = 7.x
|
||||
files[] = statistics.test
|
||||
configure = admin/config/system/statistics
|
||||
|
||||
; Information added by Drupal.org packaging script on 2017-02-01
|
||||
version = "7.54"
|
||||
; Information added by Drupal.org packaging script on 2017-06-21
|
||||
version = "7.56"
|
||||
project = "drupal"
|
||||
datestamp = "1485986921"
|
||||
datestamp = "1498069849"
|
||||
|
||||
|
@@ -245,7 +245,7 @@ function statistics_user_delete($account) {
|
||||
* Implements hook_cron().
|
||||
*/
|
||||
function statistics_cron() {
|
||||
$statistics_timestamp = variable_get('statistics_day_timestamp', '');
|
||||
$statistics_timestamp = variable_get('statistics_day_timestamp', 0);
|
||||
|
||||
if ((REQUEST_TIME - $statistics_timestamp) >= 86400) {
|
||||
// Reset day counts.
|
||||
|
Reference in New Issue
Block a user