mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Download/Install modal fix.
This commit is contained in:
parent
096b34fec1
commit
2bc62496e2
@ -1023,17 +1023,15 @@ class plugin_online_ui extends e_admin_ui
|
||||
|
||||
function pluginCheck($force=false)
|
||||
{
|
||||
global $plugin;
|
||||
|
||||
if(!PLUGIN_SCAN_INTERVAL)
|
||||
{
|
||||
$plugin->update_plugins_table('update');
|
||||
e107::getPlugin()->update_plugins_table('update');
|
||||
return;
|
||||
}
|
||||
|
||||
if((time() > vartrue($_SESSION['nextPluginFolderScan'],0)) || $force == true)
|
||||
{
|
||||
$plugin->update_plugins_table('update');
|
||||
e107::getPlugin()->update_plugins_table('update');
|
||||
}
|
||||
|
||||
$_SESSION['nextPluginFolderScan'] = time() + PLUGIN_SCAN_INTERVAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user