Skip to content

Commit

Permalink
Update class.action.clearFolders.php: correct exclusion list to inclu…
Browse files Browse the repository at this point in the history
…de 'mailpit'
  • Loading branch information
N6REJ committed Jul 18, 2024
1 parent ea86784 commit 061330e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/classes/actions/class.action.clearFolders.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ public function __construct($args)
* Clears specific temporary folders in the root temporary path.
*
* Util::clearFolder is used to clear the contents of the root temporary path, excluding
* certain essential items such as 'cachegrind', 'composer', 'openssl', 'mailhog', 'xlight', 'npm-cache',
* certain essential items such as 'cachegrind', 'composer', 'openssl', 'mailpit', 'xlight', 'npm-cache',
* 'pip', 'yarn', and '.gitignore'. This ensures that important data and configurations are not lost.
*
* @param string $bearsamppRoot->getTmpPath() The root temporary path to be cleared.
* @param array $exclusions List of folders and files to be excluded from deletion.
*/
Util::clearFolder($bearsamppRoot->getTmpPath(), array('cachegrind', 'composer', 'openssl', 'mailhog', Mailpit, 'xlight', 'npm-cache', 'pip', 'yarn', '.gitignore'));
Util::clearFolder($bearsamppRoot->getTmpPath(), array('cachegrind', 'composer', 'openssl', 'mailhog', 'mailpit', 'xlight', 'npm-cache', 'pip', 'yarn', '.gitignore'));

/**
* Clears the core temporary path.
Expand Down

0 comments on commit 061330e

Please sign in to comment.