[Pkg-owncloud-commits] [owncloud] 112/153: Use more strict type comparisons

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:44 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 a0ccb060fac1dfa8d2885ab209bd31b606536e14
Author: Robin McCorkell <rmccorkell at karoshi.org.uk>
Date:   Tue Apr 29 10:00:26 2014 +0100

    Use more strict type comparisons
---
 apps/files_external/lib/config.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 223b917..48f3c1f 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -163,7 +163,7 @@ class OC_Mount_Config {
 
 				if ( (!isset($mountPoints[$mountPoint]))
 					|| ($options['priority'] >= $mountPoints[$mountPoint]['priority'])
-					|| ($mountPoints[$mountPoint]['priority_type'] != 'global') ) {
+					|| ($mountPoints[$mountPoint]['priority_type'] !== 'global') ) {
 					$options['priority_type'] = 'global';
 					$mountPoints[$mountPoint] = $options;
 				}
@@ -184,7 +184,7 @@ class OC_Mount_Config {
 
 						if ( (!isset($mountPoints[$mountPoint]))
 							|| ($options['priority'] >= $mountPoints[$mountPoint]['priority'])
-							|| ($mountPoints[$mountPoint]['priority_type'] != 'group') ) {
+							|| ($mountPoints[$mountPoint]['priority_type'] !== 'group') ) {
 							$options['priority_type'] = 'group';
 							$mountPoints[$mountPoint] = $options;
 						}
@@ -207,7 +207,7 @@ class OC_Mount_Config {
 
 						if ( (!isset($mountPoints[$mountPoint]))
 							|| ($options['priority'] >= $mountPoints[$mountPoint]['priority'])
-							|| ($mountPoints[$mountPoint]['priority_type'] != 'user') ) {
+							|| ($mountPoints[$mountPoint]['priority_type'] !== 'user') ) {
 							$options['priority_type'] = 'user';
 							$mountPoints[$mountPoint] = $options;
 						}
@@ -223,7 +223,7 @@ class OC_Mount_Config {
 				$options['options'] = self::decryptPasswords($options['options']);
 
 				if ( (!isset($mountPoints[$mountPoint]))
-					|| ($mountPoints[$mountPoint]['priority_type'] != 'personal') ) {
+					|| ($mountPoints[$mountPoint]['priority_type'] !== 'personal') ) {
 					$options['priority_type'] = 'personal';
 					$mountPoints[$mountPoint] = $options;
 				}

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