diff options
Diffstat (limited to 'apps/files_sharing/lib/OrphanHelper.php')
-rw-r--r-- | apps/files_sharing/lib/OrphanHelper.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/files_sharing/lib/OrphanHelper.php b/apps/files_sharing/lib/OrphanHelper.php index c5ad93a354f..220de619c87 100644 --- a/apps/files_sharing/lib/OrphanHelper.php +++ b/apps/files_sharing/lib/OrphanHelper.php @@ -14,15 +14,10 @@ use OCP\Files\IRootFolder; use OCP\IDBConnection; class OrphanHelper { - private IDBConnection $connection; - private IRootFolder $rootFolder; - public function __construct( - IDBConnection $connection, - IRootFolder $rootFolder, + private IDBConnection $connection, + private IRootFolder $rootFolder, ) { - $this->connection = $connection; - $this->rootFolder = $rootFolder; } public function isShareValid(string $owner, int $fileId): bool { |