mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
#367 - Check for download plugin installation. Should get rid of the download table error messages.
This commit is contained in:
@@ -1356,7 +1356,8 @@ function update_706_to_800($type='')
|
|||||||
{
|
{
|
||||||
if ($just_check) return update_needed('Download Plugin needs to be installed.');
|
if ($just_check) return update_needed('Download Plugin needs to be installed.');
|
||||||
e107::getSingleton('e107plugin')->install('download',array('nolinks'=>true));
|
e107::getSingleton('e107plugin')->install('download',array('nolinks'=>true));
|
||||||
// e107::getSingleton('e107plugin')->save_addon_prefs(); //XXX Needed? Uncomment if SQL update does not occur.
|
e107::getSingleton('e107plugin')->refresh('download');
|
||||||
|
e107::getSingleton('e107plugin')->save_addon_prefs(); // Needed for SQL update.
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!e107::isInstalled('banner') && $sql->gen("SELECT * FROM #banner LIMIT 1"))
|
if (!e107::isInstalled('banner') && $sql->gen("SELECT * FROM #banner LIMIT 1"))
|
||||||
|
Reference in New Issue
Block a user