-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
increased version, deletes old config data
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
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
44 changes: 44 additions & 0 deletions
44
app/code/community/FireGento/Pdf/sql/firegento_pdf_setup/upgrade-1.0.0-1.1.0.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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/** | ||
* This file is part of the FIREGENTO project. | ||
* | ||
* FireGento_GermanSetup is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License version 3 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This script is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
* | ||
* PHP version 5 | ||
* | ||
* @category FireGento | ||
* @package FireGento_Pdf | ||
* @author FireGento Team <[email protected]> | ||
* @copyright 2013 FireGento Team (http://www.firegento.de). All rights served. | ||
* @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3) | ||
* @version $Id:$ | ||
* @since 0.1.0 | ||
*/ | ||
/** | ||
* Invoice model rewrite. | ||
* | ||
* The invoice model serves as a proxy to the actual PDF engine as set via | ||
* backend configuration. | ||
* | ||
* @category FireGento | ||
* @package FireGento_Pdf | ||
* @author FireGento Team <[email protected]> | ||
* @copyright 2013 FireGento Team (http://www.firegento.de). All rights served. | ||
* @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3) | ||
* @version $Id:$ | ||
* @since 0.1.0 | ||
*/ | ||
|
||
/* @var $this Mage_Eav_Model_Entity_Setup */ | ||
$installer = $this; | ||
$installer->startSetup(); | ||
|
||
$installer->deleteConfigData('sales_pdf/firegento_pdf/engine'); | ||
|
||
$installer->endSetup(); |