[Pkg-owncloud-commits] [owncloud] 74/75: Fix call of function touch

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


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

taffit pushed a commit to annotated tag v3.0.1
in repository owncloud.

commit edeaa0a4a18fab9f3ab0ec333a1e399a56f8d985
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Mar 13 13:04:00 2012 +0100

    Fix call of function touch
---
 lib/filesystem.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/filesystem.php b/lib/filesystem.php
index 4dfdbc7..583aa38 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -370,7 +370,7 @@ class OC_Filesystem{
 		return self::basicOperation('fileatime',$path);
 	}
 	static public function touch($path, $mtime=null){
-		return self::$defaultInstance->touch($path, $mtime);
+		return self::basicOperation('touch',$path,array($mtime));
 	}
 	static public function file_get_contents($path){
 		return self::basicOperation('file_get_contents',$path,array('read'));

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