v1.2.9.1 rename to v1.2.10

re: PHP's version_compare
This commit is contained in:
Luke S Thompson
2025-08-01 21:51:45 +10:00
parent 40af00ac02
commit b3e7e28795
4 changed files with 7 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ All notable changes to Proxmox VE for WHMCS will be documented in this file.
https://github.com/The-Network-Crew/Proxmox-VE-for-WHMCS/milestones
## [1.2.9.1] - 2025-07-31 - _"Import Friendly"_
## [1.2.10] - 2025-07-31 - _"Import Friendly"_
### 🚀 Feature
- Guest Import: Add Service for existing PVE Guest (#75)

View File

@@ -1,6 +1,6 @@
# SQL Statements for Updates (nav to DB first)
## v1.2.8 to v1.2.9
## v1.2.8 to v1.2.10
```
ALTER TABLE mod_pvewhmcs ADD COLUMN `start_vmid` int(10) DEFAULT 100;

View File

@@ -36,7 +36,7 @@ function pvewhmcs_config() {
$configarray = array(
"name" => "Proxmox VE for WHMCS",
"description" => "Proxmox VE (Virtual Environment) & WHMCS, integrated & open-source! Provisioning & Management of VMs/CTs.".is_pvewhmcs_outdated(),
"version" => "1.2.9.1",
"version" => "1.2.10",
"author" => "The Network Crew Pty Ltd",
'language' => 'English'
);
@@ -45,7 +45,7 @@ function pvewhmcs_config() {
// VERSION: also stored in repo/version (for update-available checker)
function pvewhmcs_version(){
return "1.2.9.1";
return "1.2.10";
}
// WHMCS MODULE: ACTIVATION of the ADDON MODULE
@@ -88,8 +88,8 @@ function pvewhmcs_deactivate() {
function pvewhmcs_upgrade($vars) {
// This function gets passed the old ver once post-update, hence lt check
$currentlyInstalledVersion = $vars['version'];
// SQL Operations for v1.2.9 version
if (version_compare($currentlyInstalledVersion, '1.2.9', '<')) {
// SQL Operations for v1.2.9/10 version
if (version_compare($currentlyInstalledVersion, '1.2.10', 'lt')) {
$schema = Capsule::schema();
// Add the column "start_vmid" to the mod_pvewhmcs table

View File

@@ -1 +1 @@
1.2.9.1
1.2.10