From 48e53e0419b1d2766ebcd03fd2b2d9b521a7b942 Mon Sep 17 00:00:00 2001 From: haitv282 Date: Thu, 1 Feb 2018 17:16:11 +0700 Subject: [PATCH] Correct active license url --- Model/Activate.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Model/Activate.php b/Model/Activate.php index 3994815..8daafc8 100644 --- a/Model/Activate.php +++ b/Model/Activate.php @@ -32,19 +32,20 @@ class Activate extends \Magento\AdminNotification\Model\Feed /** * @inheritdoc */ - const MAGEPLAZA_ACTIVE_URL = 'store.mageplaza.com/license/index/activate'; + const MAGEPLAZA_ACTIVE_URL = 'http://store.mageplaza.com/license/index/activate'; /** * @inheritdoc */ public function getActiveUrl() { - $httpPath = $this->_backendConfig->isSetFlag(self::XML_USE_HTTPS_PATH) ? 'https://' : 'http://'; - if ($this->_feedUrl === null) { - $this->_feedUrl = $httpPath . self::MAGEPLAZA_ACTIVE_URL; - } - - return $this->_feedUrl; + return self::MAGEPLAZA_ACTIVE_URL; +// $httpPath = $this->_backendConfig->isSetFlag(self::XML_USE_HTTPS_PATH) ? 'https://' : 'http://'; +// if ($this->_feedUrl === null) { +// $this->_feedUrl = $httpPath . self::MAGEPLAZA_ACTIVE_URL; +// } +// +// return $this->_feedUrl; } /**