1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

#367 - Check for download plugin installation. Should get rid of the download table error messages.

This commit is contained in:
Moc 2014-05-25 11:02:56 +02:00
parent 0278ac5efa
commit 18ab88864e

View File

@ -1356,7 +1356,8 @@ function update_706_to_800($type='')
{
if ($just_check) return update_needed('Download Plugin needs to be installed.');
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"))