mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Tiny revert
This commit is contained in:
parent
1e913bb938
commit
199d607a2c
@ -17,13 +17,10 @@ class HTTPRequestBuilder
|
||||
{
|
||||
// Clean and update live global variables
|
||||
$variables = static::cleanEnvironment(Environment::getVariables());
|
||||
|
||||
// Health-check prior to creating environment
|
||||
$req = static::createFromVariables($variables, @file_get_contents('php://input'));
|
||||
|
||||
Environment::setVariables($variables); // Currently necessary for SSViewer, etc to work
|
||||
|
||||
return $req;
|
||||
// Health-check prior to creating environment
|
||||
return static::createFromVariables($variables, @file_get_contents('php://input'));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -140,4 +137,4 @@ class HTTPRequestBuilder
|
||||
|
||||
return $variables;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user