X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=account.pyx;h=cddbba736d9fc7926f966ad6a27440ca4c606e53;hp=96fc918c0f306780bfeef8df083bfbbe7ffe6685;hb=fe31cc60e134bb3cb2794866f81acd2686307756;hpb=c2ebf96eec6b90289e9fde5e964a23c12f0e64eb diff --git a/account.pyx b/account.pyx index 96fc918..cddbba7 100644 --- a/account.pyx +++ b/account.pyx @@ -396,16 +396,15 @@ cdef class Account: self.__exists = True return True - + def remove(self): """ - Removes as existing account. + Removes an existing account. - @return True if successful, False if account doesnt exists + @return True if successful, False if account doesn't exists """ if self.__exists: - account.purple_accounts_remove(self._get_structure()) - + account.purple_accounts_delete(self._get_structure()) self__exists = False return True else: