Jump to content

Remove Recent Marketplace Extensions


Kalarah

Recommended Posts

Even if we make an edit to the skin to not show this data, the codebase will still fetch it, consuming a second or two of time.

So, in /admin_abcd/sources/dashboard.index.inc.php, near line 76:

From:
## Get recent extensions
if($GLOBALS['session']->has('recent_extensions')) {

To:
## Get recent extensions
if(true || $GLOBALS['session']->has('recent_extensions')) {

This forces the assumption that we already fetched the list of recent extensions, whether or not we actually did, thus giving an empty result to the skin.

Link to comment
Share on other sites

In the admin template dashboard.index.php, near line 111:

From:

      {if is_array($RECENT_EXTENSIONS)}

To:

      {if is_array($RECENT_EXTENSIONS) && $smarty.session.__admin_data.super_user}

This will have the Recent Extensions shown for "Super Admins". Super Admins have universal power.

Non-Super Admins do not have universal power but rather have any number of permissions granted appropriate to their delegated responsibilities.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...