public function deleteAccount($request, $match)
    {
        $user = Pluf_Shortcuts_GetObjectOr404('User', $request->user->id);
        $request->user->delete();
        return $user;
    }
public function deleteAccount($request, $match)
    {
        $user = Pluf_Shortcuts_GetObjectOr404('User', $request->user->id);
        $request->user->delete();
        return $user;
    }
public function deleteAccount ( $ request , $ match ) { $ user = Pluf_Shortcuts_GetObjectOr404 ( 'User' , $ request -> user -> id ) ; $ request -> user -> delete ( ) ; return $ user ; }
Delete account of current user.

@param Pluf_HTTP_Request $request
@param array $match
Delete account of current user .