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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user