Commit 81399c57 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Légère modif pour testabilité.

parent 459ff926
......@@ -46,13 +46,10 @@ class LdapDb implements Storage\StorageInterface, ServiceManagerAwareInterface
*/
public function isEmpty()
{
if (!$this->getLdapStorage()->isEmpty()) {
return false;
if ($this->getLdapStorage()->isEmpty() && $this->getDbStorage()->isEmpty()) {
return true;
}
if (!$this->getDbStorage()->isEmpty()) {
return false;
}
return true;
return false;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment