From fd28eb0d2c55ddd60f1bf174473311317bd1712f Mon Sep 17 00:00:00 2001 From: eduard13 Date: Wed, 30 Jan 2019 17:38:58 +0200 Subject: [PATCH 1/2] Fixed the lifetime statistics refreshing for selected reports --- .../Adminhtml/Report/Statistics/RefreshLifetime.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php b/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php index 1b7ae6398d30e..df05ac3f79755 100644 --- a/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php +++ b/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php @@ -6,7 +6,10 @@ */ namespace Magento\Reports\Controller\Adminhtml\Report\Statistics; -class RefreshLifetime extends \Magento\Reports\Controller\Adminhtml\Report\Statistics +use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface; +use Magento\Reports\Controller\Adminhtml\Report\Statistics; + +class RefreshLifetime extends Statistics implements HttpPostActionInterface { /** * Refresh statistics for all period From 8a276c1e9938b432b6122bfa62695bdfe048d6f9 Mon Sep 17 00:00:00 2001 From: Pavel Bystritsky Date: Thu, 7 Feb 2019 16:38:21 +0200 Subject: [PATCH 2/2] ENGCOM-4129: Static test fix. --- .../Adminhtml/Report/Statistics/RefreshLifetime.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php b/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php index df05ac3f79755..b868394593558 100644 --- a/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php +++ b/app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics/RefreshLifetime.php @@ -1,6 +1,5 @@