diff options
Diffstat (limited to 'lib/updater.php')
-rw-r--r-- | lib/updater.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/updater.php b/lib/updater.php index b3b289ef276..cb22da4f906 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -45,12 +45,12 @@ class OC_Updater{ // set a sensible timeout of 10 sec to stay responsive even if the update server is down. $ctx = stream_context_create( - array( - 'http' => array( - 'timeout' => 10 - ) - ) - ); + array( + 'http' => array( + 'timeout' => 10 + ) + ) + ); $xml=@file_get_contents($url, 0, $ctx); if($xml==FALSE) { return array(); |