Permalink
Browse files

[#28329] Joomla Update component requires Purge Cache to change Update

Server
  • Loading branch information...
1 parent fc58b50 commit 6e89ff788142ecbd1d1b104f5c2429035d1eb8a3 @nikosdion nikosdion committed with dextercowley Mar 31, 2012
Showing with 10 additions and 0 deletions.
  1. +7 −0 administrator/components/com_joomlaupdate/models/default.php
  2. +3 −0 installation/CHANGELOG
@@ -85,6 +85,13 @@ public function applyUpdateSite()
$update_site->last_check_timestamp = 0;
$update_site->location = $updateURL;
$db->updateObject('#__update_sites', $update_site, 'update_site_id');
+
+ // Remove cached updates
+ $query = $db->getQuery(true)
+ ->delete($db->nq('#__updates'))
+ ->where($db->nq('extension_id').' = '.$db->q('700'));
+ $db->setQuery($query);
+ $db->query();
}
}
View
@@ -28,6 +28,9 @@ $ -> Language fix or change
-------------------- 2.5.4 Stable Release [2-April-2012] ------------------
+31-Mar-2012 Mark Dexter
+ # [#28329] Joomla Update component requires Purge Cache to change Update Server
+
30-Mar-2012 Mark Dexter
# Sample data fixes for SQL Server
# [#28316] Incorrect ordering value if editing last module

0 comments on commit 6e89ff7

Please sign in to comment.