Skip to content

Commit

Permalink
[#28329] Joomla Update component requires Purge Cache to change Update
Browse files Browse the repository at this point in the history
Server
  • Loading branch information
Nicholas Dionysopoulos authored and dextercowley committed Mar 31, 2012
1 parent fc58b50 commit 6e89ff7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions administrator/components/com_joomlaupdate/models/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down
3 changes: 3 additions & 0 deletions installation/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e89ff7

Please sign in to comment.