[Pkg-owncloud-commits] [owncloud] 192/258: strict comparison

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:35 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit 8089e0f9b89055550abab109d732c93f3469120a
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Wed Oct 1 13:14:08 2014 +0200

    strict comparison
---
 lib/private/files/storage/common.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index 9657b51..053f940 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -54,11 +54,11 @@ abstract class Common implements \OC\Files\Storage\Storage {
 	}
 
 	public function is_dir($path) {
-		return $this->filetype($path) == 'dir';
+		return $this->filetype($path) === 'dir';
 	}
 
 	public function is_file($path) {
-		return $this->filetype($path) == 'file';
+		return $this->filetype($path) === 'file';
 	}
 
 	public function filesize($path) {

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