mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
FIX auto updater
This commit is contained in:
parent
4b97a0211e
commit
b3ec2162f9
@ -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',
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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 = '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user