FIX auto updater

This commit is contained in:
Manuele Maporti 2022-10-20 17:23:53 +02:00 committed by GitHub
parent 4b97a0211e
commit b3ec2162f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,9 @@
<?php
global $adb, $table_prefix;
require_once('include/utils/FSUtils.php');
folderDetete('cron/modules/com_vtiger_workflow');
$customizations = SDK::getAllCustomizations();
$words = [
'com_vtiger_workflow',

View File

@ -2,6 +2,12 @@
//update to change all sdk_language trans_label , vtiger strings to vte
global $adb, $table_prefix;
if (!function_exists('str_contains')) {
function str_contains($haystack, $needle) {
return $needle !== '' && mb_strpos($haystack, $needle) !== false;
}
}
$sql = "SELECT trans_label FROM sdk_language WHERE trans_label LIKE '%VTIGER%' ";
// crmv@190493e
$res = $adb->query($sql);

View File

@ -7,7 +7,7 @@ $patch_version = '';
$modified_database = '';
$vte_legacy_version = '5.2.1';
$enterprise_current_version = '20.04.2';
$enterprise_current_build = '2215';
$enterprise_current_build = '2216';
$enterprise_base_build = '2103'; // just to know where we started
$enterprise_mode = 'VTENEXTCE';
$enterprise_project = '';