This commit is contained in:
Garrett K 2021-03-23 03:15:49 +00:00
parent bb96ac583b
commit b04dcd4284
3 changed files with 16 additions and 2 deletions

View File

@ -100,6 +100,8 @@ var $qls;
$this->update_0311_to_0312(); $this->update_0311_to_0312();
} else if($this->currentVersion == '0.3.12') { } else if($this->currentVersion == '0.3.12') {
$this->update_0312_to_0313(); $this->update_0312_to_0313();
} else if($this->currentVersion == '0.3.13') {
$this->update_0313_to_0314();
} else { } else {
return true; return true;
} }
@ -108,6 +110,18 @@ var $qls;
return false; return false;
} }
/**
* Update from version 0.3.13 to 0.3.14
* @return Boolean
*/
function update_0313_to_0314() {
$incrementalVersion = '0.3.14';
// Set app version to 0.3.14
$this->qls->SQL->update('app_organization_data', array('version' => $incrementalVersion), array('id' => array('=', 1)));
}
/** /**
* Update from version 0.3.12 to 0.3.13 * Update from version 0.3.12 to 0.3.13
* @return Boolean * @return Boolean

View File

@ -3,7 +3,7 @@
define('AVAILABLE_CABLE_END_ID_COUNT', 100); define('AVAILABLE_CABLE_END_ID_COUNT', 100);
define('MAX_WALLJACK_PORTID', 100); define('MAX_WALLJACK_PORTID', 100);
define('DEFAULT_FLOORPLAN_IMG', 'floorplan-default.png'); define('DEFAULT_FLOORPLAN_IMG', 'floorplan-default.png');
define('PCM_VERSION', '0.3.13'); define('PCM_VERSION', '0.3.14');
define('NEW_OBJECT_PREFIX', 'Object_'); define('NEW_OBJECT_PREFIX', 'Object_');
define('NEW_LOCATION_PREFIX', 'Location_'); define('NEW_LOCATION_PREFIX', 'Location_');

View File

@ -37,7 +37,7 @@ class Install {
* @var string $system_version - The version of the system * @var string $system_version - The version of the system
*/ */
var $system_version = '3.1.11'; var $system_version = '3.1.11';
var $app_version = '0.3.13'; var $app_version = '0.3.14';
/** /**
* @var string $install_error - Contains the installation error * @var string $install_error - Contains the installation error