--- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosasyncfileoperations.cpp Thu Aug 19 09:57:17 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosasyncfileoperations.cpp Tue Aug 31 15:15:55 2010 +0300
@@ -136,17 +136,7 @@
MPX_DEBUG2("CVcxMyVideosAsyncFileOperations:: trying to delete: %S",
&videoInCache->ValueText( KMPXMediaGeneralUri ));
-
- TUint attr ( 0 );
- TPtrC fileName = videoInCache->ValueText( KMPXMediaGeneralUri );
-
- iCollection.iFs.Att( fileName, attr );
- if ( attr & KEntryAttReadOnly )
- {
- iCollection.iFs.SetAtt( fileName, 0, KEntryAttReadOnly );
- }
-
- TInt err = iCollection.iFs.Delete( fileName );
+ TInt err = iCollection.iFs.Delete( videoInCache->ValueText( KMPXMediaGeneralUri ) );
if ( err != KErrNone )
{