diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 12:54:36 -0800 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 12:54:36 -0800 |
commit | 9058d398a7b9aac58ab4aa7379e13ca83c72281d (patch) | |
tree | 7aaa55510ab15435efc2f36cf5628f5763f3ce02 /lib/updater.php | |
parent | 4320f23c87ab6b43a31b8dcb0c6e44127438f123 (diff) | |
parent | ffae6f4b847e96d691053300c355ab81edc6c1c8 (diff) | |
download | nextcloud-server-9058d398a7b9aac58ab4aa7379e13ca83c72281d.tar.gz nextcloud-server-9058d398a7b9aac58ab4aa7379e13ca83c72281d.zip |
Merge pull request #1662 from owncloud/style-cleanup
Style cleanup
Diffstat (limited to 'lib/updater.php')
-rw-r--r-- | lib/updater.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/updater.php b/lib/updater.php index d44ac108380..e7d33ac2bb9 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -30,7 +30,9 @@ class OC_Updater{ */ public static function check() { OC_Appconfig::setValue('core', 'lastupdatedat', microtime(true)); - if(OC_Appconfig::getValue('core', 'installedat', '')=='') OC_Appconfig::setValue('core', 'installedat', microtime(true)); + if(OC_Appconfig::getValue('core', 'installedat', '')=='') { + OC_Appconfig::setValue('core', 'installedat', microtime(true)); + } $updaterurl='http://apps.owncloud.com/updater.php'; $version=OC_Util::getVersion(); @@ -72,7 +74,9 @@ class OC_Updater{ if(OC_Config::getValue('updatechecker', true)==true) { $data=OC_Updater::check(); if(isset($data['version']) and $data['version']<>'') { - $txt='<span style="color:#AA0000; font-weight:bold;">'.$l->t('%s is available. Get <a href="%s">more information</a>', array($data['versionstring'], $data['web'])).'</span>'; + $txt='<span style="color:#AA0000; font-weight:bold;">' + .$l->t('%s is available. Get <a href="%s">more information</a>', + array($data['versionstring'], $data['web'])).'</span>'; }else{ $txt=$l->t('up to date'); } |