File tree Expand file tree Collapse file tree 5 files changed +18
-2
lines changed
app/code/Magento/Cron/Model
setup/src/Magento/Setup/Controller Expand file tree Collapse file tree 5 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments