mirror of
https://github.com/e107inc/e107.git
synced 2025-06-09 04:28:29 +02: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)
|
function pluginCheck($force=false)
|
||||||
{
|
{
|
||||||
global $plugin;
|
|
||||||
|
|
||||||
if(!PLUGIN_SCAN_INTERVAL)
|
if(!PLUGIN_SCAN_INTERVAL)
|
||||||
{
|
{
|
||||||
$plugin->update_plugins_table('update');
|
e107::getPlugin()->update_plugins_table('update');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((time() > vartrue($_SESSION['nextPluginFolderScan'],0)) || $force == true)
|
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;
|
$_SESSION['nextPluginFolderScan'] = time() + PLUGIN_SCAN_INTERVAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user