Skip to content

Commit

Permalink
Merge pull request #38 from justbetter/develop
Browse files Browse the repository at this point in the history
Cleaned up unused en deprecated code and some php 8.2 compatibility
  • Loading branch information
rbnmulder authored Jan 30, 2024
2 parents 148e3e0 + af6849a commit 3fab27a
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 574 deletions.
4 changes: 0 additions & 4 deletions Block/Adminhtml/Akeneo.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public function __construct(Context $context, array $data = [])

/**
* Prepare button and grid
*
* @return \Magento\Catalog\Block\Adminhtml\Product
*/
protected function _prepareLayout()
{
Expand Down Expand Up @@ -61,8 +59,6 @@ protected function _getAddButtonOptions()
}

/**
*
*
* @param string $type
* @return string
*/
Expand Down
1 change: 0 additions & 1 deletion Block/Adminhtml/Akeneo/Edit/Tab/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public function __construct(
*/
protected function _prepareForm()
{
/* @var $model \JustBetter\AkeneoBundle\Model\BlogPosts */
$model = $this->_coreRegistry->registry('akeneo');

$isElementDisabled = false;
Expand Down
37 changes: 0 additions & 37 deletions Console/Command/MailNotificationCommand.php

This file was deleted.

10 changes: 7 additions & 3 deletions Controller/Adminhtml/akeneo/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ class Index extends \Magento\Backend\App\Action
/**
* @var PageFactory
*/
protected $resultPagee;
protected $resultPage;

/**
* @var \Magento\Framework\View\Result\PageFactory
**/
private \Magento\Framework\View\Result\PageFactory $resultPageFactory;

/**
* @param Context $context
Expand Down Expand Up @@ -40,5 +45,4 @@ public function execute()

return $resultPage;
}
}
?>
}
59 changes: 0 additions & 59 deletions Cron/CleanLogs.php

This file was deleted.

25 changes: 0 additions & 25 deletions Cron/MailNotificationCron.php

This file was deleted.

44 changes: 0 additions & 44 deletions Helper/MailHelper.php

This file was deleted.

84 changes: 0 additions & 84 deletions Job/MailMessage.php

This file was deleted.

Loading

0 comments on commit 3fab27a

Please sign in to comment.