harvester/server/src/harvesterqueue.cpp
branchRCL_3
changeset 19 82c0024438c8
parent 15 3cebc1a84278
child 22 ab88d4a85041
equal deleted inserted replaced
17:50de4d668bb6 19:82c0024438c8
   146         TTime time( 0 );
   146         TTime time( 0 );
   147         if ( err == KErrNone && iBlacklist->IsBlacklisted(
   147         if ( err == KErrNone && iBlacklist->IsBlacklisted(
   148         		aItem->Uri(), mediaId, time ) )
   148         		aItem->Uri(), mediaId, time ) )
   149             {
   149             {
   150             WRITELOG( "CHarvesterQueue::Append() - found a blacklisted file" );
   150             WRITELOG( "CHarvesterQueue::Append() - found a blacklisted file" );
       
   151             if( aItem->EventType() == EHarvesterEdit )
       
   152                 {
       
   153                 // Remove possible placeholder items from DB if file was blacklisted during harvesting
       
   154                 iHarvesterAO->RemoveBlacklistedFile( aItem );
       
   155                 }
   151             delete aItem;
   156             delete aItem;
   152             aItem = NULL;
   157             aItem = NULL;
   153             return;
   158             return;
   154             }
   159             }
   155         }
   160         }