Skip to content

Commit 1cdebd0

Browse files
authored
[5.0] Select all columns in extensions uninstallation on update (#40775)
* Add enabled field to extensions uninstallation * Select all columns from extensions table
1 parent 1b49840 commit 1cdebd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

administrator/components/com_admin/script.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ protected function uninstallExtensions()
236236
foreach ($extensions as $extension) {
237237
$row = $db->setQuery(
238238
$db->getQuery(true)
239-
->select($db->quoteName('extension_id'))
240-
->select($db->quoteName('params'))
239+
->select('*')
241240
->from($db->quoteName('#__extensions'))
242241
->where($db->quoteName('type') . ' = ' . $db->quote($extension['type']))
243242
->where($db->quoteName('element') . ' = ' . $db->quote($extension['element']))

0 commit comments

Comments
 (0)