--- 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