Temporarily disable cache file deletion to prevent loss of important files
This commit is contained in:
parent
ccb1ef6971
commit
1b8b3f8ad7
2 changed files with 23 additions and 15 deletions
|
@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [2.1.8] - 2025-03-17
|
||||||
|
|
||||||
|
This update introduces a temporary fix
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- (Temporary) removed the ability to delete cache files because it's deleting important files that are needed.
|
||||||
|
|
||||||
|
|
||||||
## [2.1.7] - 2025-03-17
|
## [2.1.7] - 2025-03-17
|
||||||
|
|
||||||
This update introduces a quality of life improvement
|
This update introduces a quality of life improvement
|
||||||
|
|
|
@ -65,21 +65,21 @@
|
||||||
*/
|
*/
|
||||||
public static function shutdown(): void
|
public static function shutdown(): void
|
||||||
{
|
{
|
||||||
if(count(self::$cleanupPaths) > 0)
|
//if(count(self::$cleanupPaths) > 0)
|
||||||
{
|
//{
|
||||||
$filesystem = new Filesystem();
|
// $filesystem = new Filesystem();
|
||||||
foreach(self::$cleanupPaths as $path)
|
// foreach(self::$cleanupPaths as $path)
|
||||||
{
|
// {
|
||||||
try
|
// try
|
||||||
{
|
// {
|
||||||
$filesystem->remove($path);
|
// $//filesystem->remove($path);
|
||||||
}
|
// }
|
||||||
catch(Exception $e)
|
// catch(Exception $e)
|
||||||
{
|
// {
|
||||||
Console::outWarning('An error occurred while cleaning up temporary path "' . $path . '", ' . $e->getMessage());
|
// Console::outWarning('An error occurred while cleaning up temporary path "' . $path . '", ' . $e->getMessage());
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue