Skip to content

Commit 62bda63

Browse files
committed
Merge remote-tracking branch 'github/develop' into publication
2 parents 943e14c + b6927e0 commit 62bda63

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
############################################
2+
## uncomment the line below to enable developer mode
3+
4+
# SetEnv MAGE_MODE developer
5+
16
############################################
27
## uncomment these lines for CGI mode
38
## make sure to specify the correct cgi php binary file name

.htaccess.sample

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
############################################
2+
## uncomment the line below to enable developer mode
3+
4+
# SetEnv MAGE_MODE developer
5+
16
############################################
27
## uncomment these lines for CGI mode
38
## make sure to specify the correct cgi php binary file name

app/code/Magento/Cron/Model/Observer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ protected function _cleanup($groupId)
370370
$now = $this->timezone->scopeTimeStamp();
371371
/** @var Schedule $record */
372372
foreach ($history as $record) {
373-
if (strtotime($record->getExecutedAt()) < $now - $historyLifetimes[$record->getStatus()]) {
373+
$checkTime = strtotime($record->getExecutedAt() ? $record->getExecutedAt() : $record->getScheduledAt());
374+
if ($checkTime < $now - $historyLifetimes[$record->getStatus()]) {
374375
$record->delete();
375376
}
376377
}

pub/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
############################################
2+
## uncomment the line below to enable developer mode
3+
4+
# SetEnv MAGE_MODE developer
5+
16
############################################
27
## uncomment these lines for CGI mode
38
## make sure to specify the correct cgi php binary file name

setup/src/Magento/Setup/Controller/Environment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function phpRawpostAction()
103103
'responseType' => $responseType,
104104
'data' => [
105105
'version' => PHP_VERSION,
106-
'ini' => ini_get('always_populate_raw_post_data')
106+
'ini' => $iniSetting
107107
]
108108
];
109109

0 commit comments

Comments
 (0)