Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
90 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...mshoplib/setup/default/data/warehouse.php → lib/mshoplib/setup/default/data/code.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<?php | ||
/** | ||
* @copyright Metaways Infosystems GmbH, 2012 | ||
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 | ||
* @copyright Aimeos (aimeos.org), 2015 | ||
*/ | ||
|
||
return array( | ||
'warehouse' => array( | ||
'customer/group' => array( | ||
'admin' => array( 'code' => 'admin', 'label' => 'Administrator' ), | ||
), | ||
|
||
'product/stock/warehouse' => array( | ||
'default' => array( 'code' => 'default', 'label' => 'Standard', 'status' => 1 ), | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
/** | ||
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 | ||
* @copyright Aimeos (aimeos.org), 2015-2016 | ||
*/ | ||
|
||
|
||
namespace Aimeos\MW\Setup\Task; | ||
|
||
|
||
/** | ||
* Adds default codes to tables | ||
*/ | ||
class MShopAddCodeDataUnitperf extends \Aimeos\MW\Setup\Task\MShopAddCodeData | ||
{ | ||
/** | ||
* Returns the list of task names which this task depends on | ||
* | ||
* @return string[] List of task names | ||
*/ | ||
public function getPreDependencies() | ||
{ | ||
return array( 'MShopSetLocale' ); | ||
} | ||
|
||
|
||
/** | ||
* Returns the list of task names which depends on this task | ||
* | ||
* @return string[] List of task names | ||
*/ | ||
public function getPostDependencies() | ||
{ | ||
return array(); | ||
} | ||
|
||
|
||
/** | ||
* Executes the task for MySQL databases | ||
*/ | ||
protected function mysql() | ||
{ | ||
$this->process(); | ||
} | ||
} |
47 changes: 0 additions & 47 deletions
47
lib/mshoplib/setup/unitperf/MShopAddWarehouseDataUnitperf.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters