summaryrefslogtreecommitdiffstats
path: root/lib/updater.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-12-14 23:04:42 +0100
committerBart Visscher <bartv@thisnet.nl>2012-12-15 00:43:46 +0100
commitf39454ed12018402f38a8f6bf99fc94d676a0a3a (patch)
tree096e5a5263809359693517a6f90b0d433f6fcd61 /lib/updater.php
parent8256650da881214e652353c9b79a5ba7964965e5 (diff)
downloadnextcloud-server-f39454ed12018402f38a8f6bf99fc94d676a0a3a.tar.gz
nextcloud-server-f39454ed12018402f38a8f6bf99fc94d676a0a3a.zip
Fix "Line indented incorrectly"
Diffstat (limited to 'lib/updater.php')
-rw-r--r--lib/updater.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/updater.php b/lib/updater.php
index 11081eded63..d44ac108380 100644
--- a/lib/updater.php
+++ b/lib/updater.php
@@ -52,18 +52,18 @@ class OC_Updater{
)
);
$xml=@file_get_contents($url, 0, $ctx);
- if($xml==false) {
- return array();
- }
- $data=@simplexml_load_string($xml);
+ if($xml==false) {
+ return array();
+ }
+ $data=@simplexml_load_string($xml);
$tmp=array();
- $tmp['version'] = $data->version;
- $tmp['versionstring'] = $data->versionstring;
- $tmp['url'] = $data->url;
- $tmp['web'] = $data->web;
+ $tmp['version'] = $data->version;
+ $tmp['versionstring'] = $data->versionstring;
+ $tmp['url'] = $data->url;
+ $tmp['web'] = $data->web;
- return $tmp;
+ return $tmp;
}
public static function ShowUpdatingHint() {