diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-24 01:57:08 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-24 15:07:44 +0200 |
commit | b182e6c86a8ca0ef4e74f134bbb29e1db1fc5497 (patch) | |
tree | 0e6c37243a8acb9e5fb7f561dfc6b828a5033a18 /lib | |
parent | 9e6d2f2f82322f499722c7db8b8df5d9469ea1e5 (diff) | |
download | nextcloud-server-b182e6c86a8ca0ef4e74f134bbb29e1db1fc5497.tar.gz nextcloud-server-b182e6c86a8ca0ef4e74f134bbb29e1db1fc5497.zip |
Trim trailing whitespace from version.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php index 84d17957def..b337c55ec60 100755 --- a/lib/app.php +++ b/lib/app.php @@ -381,7 +381,7 @@ class OC_App{ $file= self::getAppPath($appid).'/appinfo/version'; $version=@file_get_contents($file); if($version){ - return $version; + return trim($version); }else{ $appData=self::getAppInfo($appid); return $appData['version']; |