mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
chore: Remove dead code detected by psalm
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
a62bff17f2
commit
54be8ca769
1 changed files with 1 additions and 5 deletions
|
|
@ -764,11 +764,7 @@ class Storage {
|
|||
|
||||
$interval = 1;
|
||||
$step = Storage::MAX_VERSIONS_PER_INTERVAL[$interval]['step'];
|
||||
if (Storage::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'] === -1) {
|
||||
$nextInterval = -1;
|
||||
} else {
|
||||
$nextInterval = $time - Storage::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'];
|
||||
}
|
||||
$nextInterval = $time - Storage::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'];
|
||||
|
||||
$firstVersion = reset($versions);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue