changing discouraged operators

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
Jonas Sulzer
2018-12-27 12:14:40 +01:00
parent 05fb0e2f33
commit a67e3e08e0
3 changed files with 7 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ class OC_User_SMB extends \OCA\user_external\Base{
} else if (strpos($lastline, 'NT_STATUS_BAD_NETWORK_NAME') !== false) {
//login on minor error
goto login;
} else if ($retval != 0) {
} else if ($retval !== 0) {
//some other error
OCP\Util::writeLog(
'user_external', 'ERROR: smbclient error: ' . trim($lastline),
@@ -91,4 +91,3 @@ class OC_User_SMB extends \OCA\user_external\Base{
return false;
}
}