revert: version comparison (#62) v1.2.9.1

This commit is contained in:
Luke S Thompson
2025-08-01 14:19:02 +10:00
parent b5f5248b78
commit 0a790074e3
3 changed files with 5 additions and 6 deletions

View File

@@ -34,7 +34,6 @@ We're pretty much done overhauling the Module to suit our needs at The Network C
# 🎯 MODULE: System Requirements (PVE/WHMCS)
- **(WHMCS)** v8.x.x stable (HTTPS)
- **(WHMCS)** **Service ID above 100**
- **(NET)** WAN Access: WHMCS to PVE
- **(VNC)** Special Requirements: PTR, etc.
- **(PHP)** v8.x.x (latest stable version)
@@ -57,7 +56,7 @@ Check the System Requirements above, and resolve any blockers to using Proxmox V
**You must have a root account to use the Module at all.** Configured via WHMCS > Servers.
This is configured in the pam realm. We plan to allow selection in v1.2.9.
This is configured in the pam realm. We plan to allow selection in v1.3.x.
#### Credentials: VNC user for Console Access only

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",
"version" => "1.2.9.1",
"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";
return "1.2.9.1";
}
// WHMCS MODULE: ACTIVATION of the ADDON MODULE
@@ -89,7 +89,7 @@ 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 ($currentlyInstalledVersion < 1.2.9) {
if (version_compare($currentlyInstalledVersion, '1.2.9', '<')) {
$schema = Capsule::schema();
// Add the column "start_vmid" to the mod_pvewhmcs table

View File

@@ -1 +1 @@
1.2.9
1.2.9.1