[Pkg-telepathy-commits] [telepathy-mission-control-6] 215/280: McdAccount: don't delete from storage if already deleted

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit ec5def2cdb05891f7d233a7039a1a94d2315040c
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Nov 15 16:21:00 2013 +0000

    McdAccount: don't delete from storage if already deleted
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
---
 src/mcd-account.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index 1b997bd..6253a7e 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -745,7 +745,8 @@ mcd_account_delete_async (McdAccount *account,
         return;
     }
 
-    mcd_storage_delete_account (priv->storage, name);
+    if ((flags & MCD_DBUS_PROP_SET_FLAG_ALREADY_IN_STORAGE) == 0)
+        mcd_storage_delete_account (priv->storage, name);
 
     data_dir_str = get_old_account_data_path (priv);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list