From da51be06192a0fe83b8c00ecc87dfca308b35308 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Sun, 22 Mar 2009 14:40:50 +0000 Subject: [PATCH] Small optimization Monotone-Parent: 1674514cbbb8b36021bc36e83a4fa580fe5718cf Monotone-Revision: ed796ed4ba5a6027433e3f18b4431d54833aeef8 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-03-22T14:40:50 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoUserDefaults.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SOGoUserDefaults.m b/SoObjects/SOGo/SOGoUserDefaults.m index 62cf0cf3e..5008636d0 100644 --- a/SoObjects/SOGo/SOGoUserDefaults.m +++ b/SoObjects/SOGo/SOGoUserDefaults.m @@ -356,7 +356,7 @@ static NSString *uidColumnName = @"c_uid"; { id old; - if (![self fetchProfile]) + if (!defFlags.ready || ![self fetchProfile]) return; /* check whether the value is actually modified */