private function cleanProperties(User $user)
    {
        $sql = 'DELETE FROM `edit_presets` WHERE usr_id = :usr_id';
        $stmt = $this->appboxConnection->prepare($sql);
        $stmt->execute([':usr_id' => $user->getId()]);
        $stmt->closeCursor();

        $this->cleanSettings($user);
        $this->cleanTokens($user);
        $this->cleanQueries($user);
        $this->cleanFtpCredentials($user);
        $this->cleanOrders($user);
        $this->cleanFtpExports($user);
        $this->cleanAuthProvider($user);
        $this->cleanUserSessions($user);
        $this->cleanOauthApplication($user);
    }
private function cleanProperties(User $user)
    {
        $sql = 'DELETE FROM `edit_presets` WHERE usr_id = :usr_id';
        $stmt = $this->appboxConnection->prepare($sql);
        $stmt->execute([':usr_id' => $user->getId()]);
        $stmt->closeCursor();

        $this->cleanSettings($user);
        $this->cleanTokens($user);
        $this->cleanQueries($user);
        $this->cleanFtpCredentials($user);
        $this->cleanOrders($user);
        $this->cleanFtpExports($user);
        $this->cleanAuthProvider($user);
        $this->cleanUserSessions($user);
        $this->cleanOauthApplication($user);
    }
private function cleanProperties ( User $ user ) { $ sql = 'DELETE FROM `edit_presets` WHERE usr_id = :usr_id' ; $ stmt = $ this -> appboxConnection -> prepare ( $ sql ) ; $ stmt -> execute ( [ ':usr_id' => $ user -> getId ( ) ] ) ; $ stmt -> closeCursor ( ) ; $ this -> cleanSettings ( $ user ) ; $ this -> cleanTokens ( $ user ) ; $ this -> cleanQueries ( $ user ) ; $ this -> cleanFtpCredentials ( $ user ) ; $ this -> cleanOrders ( $ user ) ; $ this -> cleanFtpExports ( $ user ) ; $ this -> cleanAuthProvider ( $ user ) ; $ this -> cleanUserSessions ( $ user ) ; $ this -> cleanOauthApplication ( $ user ) ; }
Removes all user's properties.

@param User $user
Removes all user s properties .