Skip to content

Commit

Permalink
Removed the empty arrays for the last 2 parameters of Folder::folders…
Browse files Browse the repository at this point in the history
…() so the defaults are used

As suggestion made in pull comment.
  • Loading branch information
BrainforgeUK committed Jul 30, 2021
1 parent 6b2c94b commit 030fa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Installer/Adapter/LibraryAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ protected function removeExtensionFiles()
// Delete empty vendor folders
if (2 === \count($elementParts))
{
$folders = Folder::folders(JPATH_PLATFORM . '/' . $elementParts[0], '.', false, true, array(), array());
$folders = Folder::folders(JPATH_PLATFORM . '/' . $elementParts[0], '.', false, true);

if (empty($folders))
{
Expand Down

0 comments on commit 030fa6b

Please sign in to comment.