diff options
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index bfcea4b72..85be124b2 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -150,11 +150,11 @@ * @return true|false
*/
public function delete()
- {
- if (!delete_user_entity($this->get('guid')))
- return false;
+ { + if (parent::delete())
+ return delete_user_entity($this->get('guid'));
- return parent::delete();
+ return false;
}
|