Skip to content

Commit eda4eff

Browse files
author
Phil E. Taylor
authored
[3] Flush administrator system cache after rebuilding update sites (#33040)
* Flush both system caches after rebuilding update sites * Update updatesites.php
1 parent 461c57e commit eda4eff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

administrator/components/com_installer/models/updatesites.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ public function rebuild()
383383
{
384384
$app->enqueueMessage(JText::_('COM_INSTALLER_MSG_UPDATESITES_REBUILD_MESSAGE'), 'message');
385385
}
386+
387+
// Flush the system cache to ensure extra_query is correctly loaded next time.
388+
$this->cleanCache('_system', 1);
386389
}
387390

388391
/**

0 commit comments

Comments
 (0)