opf/openproject — pull request #911 by linki (2014-02-13 09:57:46+00:00)
Title: Fix/correct user logout when destroyed2

the user wasn't correctly logged out after deleting him/herself because the intended method call was actual an assignment to a local variable. this wasn't a big issue since the account got locked before deletion, but now it works as intended. also did some refactoring to make the case where the user deletes itself more clear.