Skip to content

Commit

Permalink
Removing invalid code
Browse files Browse the repository at this point in the history
- Per http://php.net/manual/en/function.unset.php it is apparently not possible
  to unset $this since PHP5 ( But of course all the tests up to PHP7.1 merrily
  let this piece of code slide. #justphpthings
  • Loading branch information
ryanrath committed Jul 21, 2017
1 parent 85ce7b2 commit 3c9a255
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions classes/XDUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1167,8 +1167,6 @@ public function removeUser()
':id' => $this->_id,
));

unset($this);

}//removeUser

// ---------------------------
Expand Down

0 comments on commit 3c9a255

Please sign in to comment.