Bryan_TAO Posted May 16, 2019 Share Posted May 16, 2019 Good Morning How do I stop cubecart from showing updates are available please? I just want to stay with 6.2.5 and not have my users or myself informed of updates. Thank you Bryan Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2019 Share Posted May 16, 2019 There are two approaches: edit core code to not have CubeCart make the check (saves a few seconds on first page load and then there is nothing to show), or edit the admin skin to simply not show it. The following will also not check to see if there are any updates to any extensions you may have had CubeCart install from the Marketplace. In the administration folder /sources/dashboard.index.inc.php, near line 94, find: if ($GLOBALS['session']->has('recent_extensions')) { Change to: if (true || $GLOBALS['session']->has('recent_extensions')) { Near line 113, find: if (!$GLOBALS['session']->has('version_check') && $request = new Request('www.cubecart.com', '/version-check/'.CC_VERSION)) { Change to: if (false && !$GLOBALS['session']->has('version_check')) { $request = new Request('www.cubecart.com', '/version-check/'.CC_VERSION); Link to comment Share on other sites More sharing options...
Bryan_TAO Posted May 16, 2019 Author Share Posted May 16, 2019 Thank you very much ... I'll give that try! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.