From b04dcd428427e9f337620e8bc2f8047163dbd4b5 Mon Sep 17 00:00:00 2001 From: Garrett K Date: Tue, 23 Mar 2021 03:15:49 +0000 Subject: [PATCH] 0.3.14 --- includes/Update.class.php | 14 ++++++++++++++ includes/definitions.php | 2 +- install/Install.class.php | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/includes/Update.class.php b/includes/Update.class.php index e963ffe..01fe9cc 100755 --- a/includes/Update.class.php +++ b/includes/Update.class.php @@ -100,6 +100,8 @@ var $qls; $this->update_0311_to_0312(); } else if($this->currentVersion == '0.3.12') { $this->update_0312_to_0313(); + } else if($this->currentVersion == '0.3.13') { + $this->update_0313_to_0314(); } else { return true; } @@ -108,6 +110,18 @@ var $qls; 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 * @return Boolean diff --git a/includes/definitions.php b/includes/definitions.php index 9f03886..00d2123 100755 --- a/includes/definitions.php +++ b/includes/definitions.php @@ -3,7 +3,7 @@ define('AVAILABLE_CABLE_END_ID_COUNT', 100); define('MAX_WALLJACK_PORTID', 100); 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_LOCATION_PREFIX', 'Location_'); diff --git a/install/Install.class.php b/install/Install.class.php index e0f83d8..2e29f8d 100755 --- a/install/Install.class.php +++ b/install/Install.class.php @@ -37,7 +37,7 @@ class Install { * @var string $system_version - The version of the system */ 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