Skip to content

Commit

Permalink
Revert "Added check for isModuleOutputEnabled('Mage_AdminNotification')"
Browse files Browse the repository at this point in the history
This reverts commit 8685a12.
  • Loading branch information
S0FTWEX committed Aug 4, 2024
1 parent 8685a12 commit a93a26e
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,10 @@ public function statusAction()
$state = Mage_Core_Model_File_Storage_Flag::STATE_NOTIFIED;
// no break
case Mage_Core_Model_File_Storage_Flag::STATE_NOTIFIED:
$result['html'] = '';
if (Mage::helper('core')->isModuleOutputEnabled('Mage_AdminNotification')) {
$block = Mage::getSingleton('core/layout')
->createBlock('adminhtml/notification_toolbar')
->setTemplate('notification/toolbar.phtml');
$result['html'] = $block->toHtml();
}
$block = Mage::getSingleton('core/layout')
->createBlock('adminhtml/notification_toolbar')
->setTemplate('notification/toolbar.phtml');
$result['html'] = $block->toHtml();

$flagData = $flag->getFlagData();
if (is_array($flagData)) {
Expand Down

0 comments on commit a93a26e

Please sign in to comment.