Skip to content

Commit 8825e9b

Browse files
committed
remove unused code
1 parent 6908105 commit 8825e9b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Platform.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,4 @@ public static function getBinaryPath(): string
214214

215215
return $binaryPath;
216216
}
217-
218-
private static function needsUpdate(): bool
219-
{
220-
$binDir = self::getBinaryDir();
221-
$versionFile = $binDir . '/.volt-test-version';
222-
223-
if (!file_exists($versionFile)) {
224-
return true;
225-
}
226-
227-
$currentVersion = trim(file_get_contents($versionFile));
228-
return $currentVersion !== self::ENGINE_CURRENT_VERSION;
229-
}
230217
}

0 commit comments

Comments
 (0)