Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
81399c57
Commit
81399c57
authored
Jul 10, 2013
by
Bertrand Gauthier
Browse files
Légère modif pour testabilité.
parent
459ff926
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Authentication/Storage/LdapDb.php
View file @
81399c57
...
...
@@ -46,13 +46,10 @@ class LdapDb implements Storage\StorageInterface, ServiceManagerAwareInterface
*/
public
function
isEmpty
()
{
if
(
!
$this
->
getLdapStorage
()
->
isEmpty
())
{
return
fals
e
;
if
(
$this
->
getLdapStorage
()
->
isEmpty
()
&&
$this
->
getDbStorage
()
->
isEmpty
()
)
{
return
tru
e
;
}
if
(
!
$this
->
getDbStorage
()
->
isEmpty
())
{
return
false
;
}
return
true
;
return
false
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment