pimappservices/calendar/server/src/agssess.cpp
branchRCL_3
changeset 31 97232defd20e
parent 30 bd7edf625bdd
--- a/pimappservices/calendar/server/src/agssess.cpp	Wed Sep 01 12:32:31 2010 +0100
+++ b/pimappservices/calendar/server/src/agssess.cpp	Tue Sep 14 21:17:03 2010 +0300
@@ -281,7 +281,7 @@
 */
 TBool CAgnServerSession::CheckBackupRestore()
     {
-    if(iBackupRestoreLock  
+    if((iBackupRestoreLock || iAgnServer.BackupRestoreInProgress()) 
     //All opeerations apart from the following ones are not allowed when Backup\Restore is in progress. 
     && iMessage.Function() != ECloseAgenda
     && iMessage.Function() != ECancelChangeNotification