From 18ab88864e40f15a4ec30d56f53daeda6365e5e1 Mon Sep 17 00:00:00 2001 From: Moc Date: Sun, 25 May 2014 11:02:56 +0200 Subject: [PATCH] #367 - Check for download plugin installation. Should get rid of the download table error messages. --- e107_admin/update_routines.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_admin/update_routines.php b/e107_admin/update_routines.php index 16eea0268..a215c7473 100644 --- a/e107_admin/update_routines.php +++ b/e107_admin/update_routines.php @@ -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"))