[Pkg-owncloud-commits] [owncloud] 88/394: always calll fopen

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


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

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

commit 5e19854d47202073773e2cde3eaabdf66099a85c
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Tue Nov 13 16:04:27 2012 +0100

    always calll fopen
---
 apps/files_sharing/lib/sharedstorage.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index 98f6f3f..d2489f9 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -413,8 +413,8 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
 
 			if ( $write && $storage->touch($this->getInternalPath($source)) ) {
 				OC_FileCache::put($intPath ,array('user'=>$user), '/'.$user.'/files');
-				return $storage->fopen($this->getInternalPath($source), $mode);
-			}			
+			}
+			return $storage->fopen($this->getInternalPath($source), $mode);
 		}
 		return false;
 	}

-- 
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