File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
apps/files/lib/Controller Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,8 @@ public function accept(int $id): DataResponse {
140140 return new DataResponse ([], Http::STATUS_FORBIDDEN );
141141 }
142142
143- $ newTransferOwnership = new TransferOwnershipEntity ();
144- $ newTransferOwnership ->setNodeName ($ transferOwnership ->getNodeName ());
145- $ newTransferOwnership ->setFileId ($ transferOwnership ->getFileId ());
146- $ newTransferOwnership ->setSourceUser ($ transferOwnership ->getSourceUser ());
147- $ newTransferOwnership ->setTargetUser ($ transferOwnership ->getTargetUser ());
148- $ this ->mapper ->insert ($ newTransferOwnership );
149-
150143 $ this ->jobList ->add (TransferOwnership::class, [
151- 'id ' => $ newTransferOwnership ->getId (),
144+ 'id ' => $ transferOwnership ->getId (),
152145 ]);
153146
154147 $ notification = $ this ->notificationManager ->createNotification ();
You can’t perform that action at this time.
0 commit comments