Skip to content

Commit

Permalink
* Upgrade to V4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldale committed Oct 8, 2017
1 parent 433aafd commit 4291dae
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions system/classes/upgrade.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

class upgrade {

private $db_version = '27';
private $program_version = '4.0';
private $db_version = '28';
private $program_version = '4.1';

function __construct() {

Expand Down Expand Up @@ -852,6 +852,17 @@ private function dbdv_27() {
$config->set('database_version', 27);
}

private function dbdv_28() {
global $db;

$config = &singleton::get(__NAMESPACE__ . '\config');
$tables = &singleton::get(__NAMESPACE__ . '\tables');
$error = &singleton::get(__NAMESPACE__ . '\error');

$config->set('program_version', '4.1');
$config->set('database_version', 28);
}

}

?>

0 comments on commit 4291dae

Please sign in to comment.