Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dashboardnews 504 Gateway Time-out #4734

Merged
merged 2 commits into from
Feb 13, 2016
Merged

fix dashboardnews 504 Gateway Time-out #4734

merged 2 commits into from
Feb 13, 2016

Conversation

cx-emerge
Copy link
Contributor

fix dashboardnews 504 Gateway Time-out

fix dashboardnews 504 Gateway Time-out

try {
if ($app['deprecated.php']) {
$fetchedNewsData = $app['guzzle.client']->get($url, null, $curlOptions)->send()->getBody(true);
$fetchedNewsData = $app['guzzle.client']->get($url, $guzzleOptions)->send()->getBody(true);
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect, as it is for Guzzle3 and has the function signature:

public function get($uri = null, $headers = null, $options = array())

fix CURLPROXY_HTTP to constant
GwendolenLynch added a commit that referenced this pull request Feb 13, 2016
fix dashboardnews 504 Gateway Time-out
@GwendolenLynch GwendolenLynch merged commit dfc9081 into bolt:release/2.2 Feb 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants