Skip to content

Commit

Permalink
Correct active license url
Browse files Browse the repository at this point in the history
  • Loading branch information
haitv282 committed Feb 1, 2018
1 parent c203987 commit 48e53e0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Model/Activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 48e53e0

Please sign in to comment.