Jump to content

Turn off Cubecart updates - don't show updates available


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...