Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyshaw committed Feb 21, 2017
2 parents 9c59215 + decc025 commit ed2b8ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Meanbee/Magedbm/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Application extends \Symfony\Component\Console\Application
{

const APP_NAME = 'Magedbm';
const APP_VERSION = '1.5.0';
const APP_VERSION = '1.5.1';

protected $autoloader;

Expand Down
5 changes: 3 additions & 2 deletions src/Meanbee/Magedbm/Command/PutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ private function createBackup(InputInterface $input, OutputInterface $output)
$triggers = $input->getOption('triggers') ?: false;

// Exec must be unavailable so use PHP alternative (match output)
$dbHelper = new DatabaseHelper();
$dbHelper->setHelperSet($magerun->getHelperSet());
$command = $magerun->find('db:info');
$command->getHelperSet()->setCommand($command);
$dbHelper = $command->getHelper('database');
$dbHelper->detectDbSettings(new NullOutput());
$magerunConfig = $magerun->getConfig();
$stripTables = $dbHelper->resolveTables(
Expand Down

0 comments on commit ed2b8ce

Please sign in to comment.