summaryrefslogtreecommitdiffstats
path: root/Core/User/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/User/User.php')
-rw-r--r--Core/User/User.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/Core/User/User.php b/Core/User/User.php
index d586511..6076603 100644
--- a/Core/User/User.php
+++ b/Core/User/User.php
@@ -112,44 +112,4 @@ final class User implements AdvancedUserInterface
public function eraseCredentials()
{
}
-
- /**
- * {@inheritDoc}
- */
- public function equals(UserInterface $user)
- {
- if (!$user instanceof User) {
- return false;
- }
-
- if ($this->password !== $user->getPassword()) {
- return false;
- }
-
- if ($this->getSalt() !== $user->getSalt()) {
- return false;
- }
-
- if ($this->username !== $user->getUsername()) {
- return false;
- }
-
- if ($this->accountNonExpired !== $user->isAccountNonExpired()) {
- return false;
- }
-
- if ($this->accountNonLocked !== $user->isAccountNonLocked()) {
- return false;
- }
-
- if ($this->credentialsNonExpired !== $user->isCredentialsNonExpired()) {
- return false;
- }
-
- if ($this->enabled !== $user->isEnabled()) {
- return false;
- }
-
- return true;
- }
}