Commit 837e2b2b authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add upgrade 2.0

parent 9277d1dd
......@@ -42,15 +42,29 @@ class tx_nG6_upgrade {
if($version == '1.2'){
tx_nG6_upgrade::upgrade_1_2();
return "Upgrade successfuly ended to version 1.2!";
} else if($version == '2.0'){
tx_nG6_upgrade::upgrade_2_0();
return "Upgrade successfuly ended to version 2.0!";
} else {
return "Upgrading to version " . $version . " not suported!";
}
}
/*
* version 1.2
*------------------------------------------------------------*/
/*
* version 2.0
*------------------------------------------------------------*/
/**
* Main function to upgrade to version 2.0.
*/
function upgrade_2_0(){
}
/*
* version 1.2
*------------------------------------------------------------*/
/**
* Main function to upgrade to version 1.2.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment