summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 16:25:14 +0200
committerGitHub <noreply@github.com>2020-04-09 16:25:14 +0200
commit64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (patch)
tree37fbf7544cbf60faaa4a5935ab1c477d05dfd028 /lib/private/legacy
parentc56a273b39186c509c57ef6bec221d3c4e3d81d3 (diff)
parent36b3bc8148648eaadcc3769b1624fe1dd4c8bf93 (diff)
downloadnextcloud-server-64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2.tar.gz
nextcloud-server-64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2.zip
Merge pull request #20384 from nextcloud/techdebt/lowercase-keywords
Use php keywords in lowercase
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Helper.php2
-rw-r--r--lib/private/legacy/OC_User.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php
index 7cb6e228b5d..73154909a4a 100644
--- a/lib/private/legacy/OC_Helper.php
+++ b/lib/private/legacy/OC_Helper.php
@@ -367,7 +367,7 @@ class OC_Helper {
$it = new RecursiveIteratorIterator($aIt);
while ($it->valid()) {
- if (((isset($index) AND ($it->key() == $index)) OR !isset($index)) AND ($it->current() == $needle)) {
+ if (((isset($index) and ($it->key() == $index)) or !isset($index)) and ($it->current() == $needle)) {
return $aIt->key();
}
diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php
index d96400ad1d4..a9de5cdef9f 100644
--- a/lib/private/legacy/OC_User.php
+++ b/lib/private/legacy/OC_User.php
@@ -80,7 +80,7 @@ class OC_User {
\OC::$server->getUserManager()->registerBackend($backend);
} else {
// You'll never know what happens
- if (null === $backend OR !is_string($backend)) {
+ if (null === $backend or !is_string($backend)) {
$backend = 'database';
}