[Pkg-owncloud-commits] [owncloud] 44/73: Trim trailing whitespace from version.

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:07 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit ca216b529647f6ee2c9d9756d2cd9d213c149e29
Author: Thomas Tanghus <thomas at tanghus.net>
Date:   Sun Jun 24 01:57:08 2012 +0200

    Trim trailing whitespace from version.
---
 lib/app.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/app.php b/lib/app.php
index e57e1e5..449ae3f 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -359,7 +359,7 @@ class OC_App{
 		$file=OC::$APPSROOT.'/apps/'.$appid.'/appinfo/version';
 		$version=@file_get_contents($file);
 		if($version){
-			return $version;
+			return trim($version);
 		}else{
 			$appData=self::getAppInfo($appid);
 			return $appData['version'];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list