Skip to content
Snippets Groups Projects
Unverified Commit b5a5b15c authored by LukasKiederle's avatar LukasKiederle Committed by GitHub
Browse files

Merge pull request #36 from galdobins/develop

Change Recurring InstallSchema script to InstallData
parents 6925d3c3 20fbc94e
Branches
Tags 1.3.2
No related merge requests found
...@@ -5,14 +5,14 @@ namespace Firegento\ContentProvisioning\Setup; ...@@ -5,14 +5,14 @@ namespace Firegento\ContentProvisioning\Setup;
use Firegento\ContentProvisioning\Model\BlockInstaller; use Firegento\ContentProvisioning\Model\BlockInstaller;
use Firegento\ContentProvisioning\Model\PageInstaller; use Firegento\ContentProvisioning\Model\PageInstaller;
use Magento\Framework\Setup\InstallSchemaInterface; use Magento\Framework\Setup\InstallDataInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;
use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
/** /**
* Class Recurring * Class Recurring
*/ */
class Recurring implements InstallSchemaInterface class RecurringData implements InstallDataInterface
{ {
/** /**
* @var PageInstaller * @var PageInstaller
...@@ -39,7 +39,7 @@ class Recurring implements InstallSchemaInterface ...@@ -39,7 +39,7 @@ class Recurring implements InstallSchemaInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
{ {
$this->pageInstaller->install(); $this->pageInstaller->install();
$this->blockInstaller->install(); $this->blockInstaller->install();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment