Remove the option to check for updates from Sandstorm installations.

This commit is contained in:
James Cole
2018-06-09 06:07:40 +02:00
parent 4a548ac282
commit 8a15cb3a34
3 changed files with 5 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class VersionCheckEventHandler
/**
* @param RequestedVersionCheckStatus $event
*/
public function checkForUpdates(RequestedVersionCheckStatus $event)
public function checkForUpdates(RequestedVersionCheckStatus $event): void
{
// in Sandstorm, cannot check for updates:
$sandstorm = 1 === (int)getenv('SANDSTORM');