homescreensrv_plat/sapi_contentpublishing/src/cpclientsession.cpp
changeset 60 f62f87b200ec
parent 0 79c6a41cd166
--- a/homescreensrv_plat/sapi_contentpublishing/src/cpclientsession.cpp	Tue Feb 02 00:23:10 2010 +0200
+++ b/homescreensrv_plat/sapi_contentpublishing/src/cpclientsession.cpp	Fri Mar 19 09:35:23 2010 +0200
@@ -80,8 +80,7 @@
 // -----------------------------------------------------------------------------
 //
 void RCPServerClient::AddL( const CCPLiwMap& aMap,
-                            CLiwGenericParamList& aOutParamList,
-                            TUint aCmdOptions )
+    CLiwGenericParamList& aOutParamList )
     {
     CP_DEBUG( _L8("RCPServerClient::AddL()") );
     HBufC8 *inbuf = aMap.PackForServerLC( );
@@ -90,14 +89,7 @@
     TIpcArgs args;
     args.Set( KDescriptorPosition, &*inbuf );
     args.Set( KReturnPosition, &sizeDes );
-    if( aCmdOptions & KDisablePersist )
-        {
-        User::LeaveIfError( SendReceive( ECpServerAddDataNonPersistent, args ) );
-        }
-    else
-        {
-        User::LeaveIfError( SendReceive( ECpServerAddData, args ) );
-        }
+    User::LeaveIfError( SendReceive( ECpServerAddData, args ) );
     TLiwGenericParam param( KItemId, id);
     aOutParamList.AppendL( param );
     CleanupStack::PopAndDestroy( inbuf );