profilesservices/MediaFileList/Src/mediafileprotection.cpp
branchRCL_3
changeset 67 940cad2b4a51
parent 54 7e0eff37aedb
--- a/profilesservices/MediaFileList/Src/mediafileprotection.cpp	Wed Sep 15 12:30:49 2010 +0300
+++ b/profilesservices/MediaFileList/Src/mediafileprotection.cpp	Wed Oct 13 14:51:53 2010 +0300
@@ -234,28 +234,6 @@
 
 
 // -----------------------------------------------------------------------------
-// CMFProtectionHandler::IsFlieDRMExpired
-// 
-// Check if the DRM protect file is expired or have no rights.
-// -----------------------------------------------------------------------------
-//
-TBool CMFProtectionHandler::IsFlieDRMExpired( const TDesC& aFileName )
-    {
-    // Check whether the file can be set as automated content or not
-    TBool canSetAutomated = EFalse;
-    TInt canSetAutomatedErr = iDRMHelper->CanSetAutomated( aFileName, canSetAutomated );
-    
-    // Check if rights expried or no rights to use
-    if ( canSetAutomatedErr == DRMCommon::ERightsExpired ||
-        canSetAutomatedErr == DRMCommon::ENoRights )
-        {
-        return ETrue;
-        }
-    return EFalse;
-    }
-
-
-// -----------------------------------------------------------------------------
 // CMFProtectionHandler::IsFileValidL
 // 
 // Function is copy from CFLDDRMImplementation.cpp.