Skip to content

Commit

Permalink
Joomla update disables all site tasks (#600)
Browse files Browse the repository at this point in the history
Joomla! update disables all other tasks for the site

Close #581

---------

Signed-off-by: pmleconte <[email protected]>
  • Loading branch information
conseilgouz authored Mar 19, 2024
1 parent 22284dc commit 9fb6bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Task/JoomlaUpdateDirector.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ function (int $siteId) {
$query = $db->getQuery(true)
->update($db->quoteName('#__tasks'))
->set($db->quoteName('enabled') . ' = 0')
->where($db->quoteName('type').' like '.$db->quote('joomlaupdate'))
->where($db->quoteName('site_id') . ' IN(' . implode(',', $siteIDs) . ')');
$db->setQuery($query)->execute();
}
Expand Down

0 comments on commit 9fb6bb9

Please sign in to comment.