Skip to content

Commit

Permalink
chore(files_versions): Remove unused $node variable
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge authored and backportbot[bot] committed Jan 29, 2025
1 parent 51f2549 commit 305382a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/files_versions/lib/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,6 @@ public static function rollback(string $file, int $revision, IUser $user) {
$files_view->touch($file, $revision);
Storage::scheduleExpire($user->getUID(), $file);

$node = $userFolder->get($file);

return true;
} elseif ($versionCreated) {
self::deleteVersion($users_view, $version);
Expand Down

0 comments on commit 305382a

Please sign in to comment.