-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stable13] check user state when fetching to avoid dealing with offline objects #9662
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code makes sense 👍
apps/user_ldap/lib/Access.php
Outdated
@@ -52,7 +52,6 @@ | |||
|
|||
use OC\ServerNotAvailableException; | |||
use OCP\IConfig; | |||
use OCP\Util; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes Phan to fail:
apps/user_ldap/lib/Access.php:588 PhanUndeclaredClassConstant Reference to constant WARN from undeclared class \OCA\User_LDAP\Util
apps/user_ldap/lib/Access.php:1978 PhanUndeclaredClassConstant Reference to constant DEBUG from undeclared class \OCA\User_LDAP\Util
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh, thx
fixes #9502 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
8882d32
to
d33ba08
Compare
Codecov Report
@@ Coverage Diff @@
## stable13 #9662 +/- ##
==============================================
+ Coverage 51.39% 51.44% +0.04%
- Complexity 25104 25105 +1
==============================================
Files 1612 1612
Lines 95545 95562 +17
Branches 1376 1376
==============================================
+ Hits 49107 49158 +51
+ Misses 46438 46404 -34
|
backport of #9640