Commit 223c7403 authored by Richard Weinhold's avatar Richard Weinhold 🎩

fixes another flysystem self-destruct bug...

parent fab0aea5
Pipeline #5406 passed with stages
in 12 seconds
......@@ -70,7 +70,7 @@ class Flysystem extends Storage
*/
public function __destruct()
{
if (!$this->selfdestruct || !file_exists($this->path)) {
if (!$this->selfdestruct) {
return;
} elseif (!$this->flysystem->has($this->path)) {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment