1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #3711 - check local themes/plugins against author names as well as versions before suggesting updates.

This commit is contained in:
Cameron
2019-04-11 12:28:14 -07:00
parent f148e20837
commit 18a8571ed3
6 changed files with 38 additions and 12 deletions

View File

@@ -56,6 +56,7 @@ if(e_AJAX_REQUEST && getperms('0') && varset($_GET['mode']) == 'addons' && ($_G
{
e107::getSession()->set('addons-update-checked',true);
/** @var admin_shortcodes $sc */
$sc = e107::getScBatch('admin');
$themes = $sc->getUpdateable('theme');
@@ -64,6 +65,7 @@ if(e_AJAX_REQUEST && getperms('0') && varset($_GET['mode']) == 'addons' && ($_G
$text = $sc->renderAddonUpdate($plugins);
$text .= $sc->renderAddonUpdate($themes);
if(empty($text))
{
exit;