diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-21 16:03:45 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-21 16:17:52 +0200 |
commit | 1bd5222224bac9b8f1037c992367c9af85a9ec5a (patch) | |
tree | 2a36b991633734a0738a415c266bcdfeb290c58a /lib/private/Files | |
parent | dbc2c2325ea194b4588515e5fad988b7ab9bcf3f (diff) | |
download | nextcloud-server-1bd5222224bac9b8f1037c992367c9af85a9ec5a.tar.gz nextcloud-server-1bd5222224bac9b8f1037c992367c9af85a9ec5a.zip |
Fix PHP 8.2 warnings about undeclared properties
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Node/File.php | 1 | ||||
-rw-r--r-- | lib/private/Files/Node/Folder.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Files/Node/File.php b/lib/private/Files/Node/File.php index e125715e6a8..d8a6741dc6e 100644 --- a/lib/private/Files/Node/File.php +++ b/lib/private/Files/Node/File.php @@ -131,7 +131,6 @@ class File extends Node implements \OCP\Files\File { $this->view->unlink($this->path); $nonExisting = new NonExistingFile($this->root, $this->view, $this->path, $fileInfo); $this->sendHooks(['postDelete'], [$nonExisting]); - $this->exists = false; $this->fileInfo = null; } else { throw new NotPermittedException(); diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php index 9c15f0edf41..b56b7e0f851 100644 --- a/lib/private/Files/Node/Folder.php +++ b/lib/private/Files/Node/Folder.php @@ -388,7 +388,6 @@ class Folder extends Node implements \OCP\Files\Folder { $this->view->rmdir($this->path); $nonExisting = new NonExistingFolder($this->root, $this->view, $this->path, $fileInfo); $this->sendHooks(['postDelete'], [$nonExisting]); - $this->exists = false; } else { throw new NotPermittedException('No delete permission for path'); } |