Upgrade pour Garradin 1.0
This commit is contained in:
parent
9c52dc8b4e
commit
3001646e37
29 changed files with 860 additions and 828 deletions
13
www/admin/_upgrade_trick.php
Normal file
13
www/admin/_upgrade_trick.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
namespace Garradin;
|
||||
|
||||
// Trick to migrate from v0.3 to v0.4, before upgrading Garradin to 1.0
|
||||
// Remove in future versions?
|
||||
$plugin = new Plugin('facturation');
|
||||
|
||||
if ($plugin->needUpgrade())
|
||||
{
|
||||
$plugin->upgrade();
|
||||
}
|
||||
|
||||
unset($plugin);
|
||||
Loading…
Add table
Add a link
Reference in a new issue