Fixed: code review done

This commit is contained in:
shazar rahman
2026-11-04 19:00:22 +05:30
parent 1004cde25e
commit c63c8b1ac7
4 changed files with 7 additions and 8 deletions

View File

@@ -3117,7 +3117,6 @@ class AdminControllerCore extends Controller
'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
));
// get upgrade available info from cache only, the cache is refreshed in background by ajaxProcessCheckUpgrade()
if (file_exists(_PS_ROOT_DIR_.Upgrader::CACHE_FILE_UPGRADE_AVAILABE)) {
$content = Tools::file_get_contents( _PS_ROOT_DIR_.Upgrader::CACHE_FILE_UPGRADE_AVAILABE);
$upgradeInfo = simplexml_load_string($content);