Skip to content

Commit

Permalink
Removed unnecessary optional parameters from Folder::folders()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainforgeUK committed Jul 31, 2021
1 parent 030fa6b commit 19ba82c
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);
$folders = Folder::folders(JPATH_PLATFORM . '/' . $elementParts[0]);

if (empty($folders))
{
Expand Down

0 comments on commit 19ba82c

Please sign in to comment.