Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed commented out code from common/etag.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 11 Mar 2016 16:30:57 +0000 (16:30 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 11 Mar 2016 16:30:57 +0000 (16:30 +0000)
source/common/etag.cpp

index 6e24d01..3a9b3f3 100644 (file)
@@ -180,9 +180,7 @@ wxString ETagDB::GetETag(wxString Filename){
        ProcessLock->lock();
     
        // Get the ETag.
-    
-       //IterwxS = FilenameETag.find(Filename);
-    
+        
        if (FilenameETag.find(Filename) != FilenameETag.end()){
         
                IterwxS = FilenameETag.find(Filename);
@@ -212,8 +210,6 @@ wxString ETagDB::GetETagOriginal(wxString Filename){
     
        // Get the ETag.
     
-       //IterwxS = FilenameETag.find(Filename);
-    
        if (FilenameETagOriginal.find(Filename) != FilenameETagOriginal.end()){
         
                IterwxS = FilenameETagOriginal.find(Filename);
@@ -270,7 +266,7 @@ bool ETagDB::WriteETagDB(){
        if (wxFileExists(AccountETagDB) == FALSE){
         
                if (ETagDBFile.Create(AccountETagDB) == FALSE){
-                       ////ProcessLock.unlock();
+                       
                        return FALSE;
                
                }
@@ -278,7 +274,7 @@ bool ETagDB::WriteETagDB(){
        } else {
         
                if (ETagDBFile.Open(AccountETagDB) == FALSE){
-                       ////ProcessLock.unlock();
+                       
                        return FALSE;
         
                }
@@ -332,9 +328,7 @@ bool ETagDB::LoadETagDB(){
        wxString AccountDirPath;
     
 #if defined(__HAIKU__)
-    
-       //preffilename = wxT("noo");
-    
+        
 #elif defined(__WIN32__)
     
        AccountDirPath = GetAccountDir(AccountDir, FALSE);
@@ -356,8 +350,6 @@ bool ETagDB::LoadETagDB(){
        if (wxFileExists(AccountETagDB) == FALSE){
         
                if (ETagDBFile.Create(AccountETagDB) == FALSE){
-                       ////ProcessLock.unlock();
-                       //ProcessLock->unlock();
                        
                        return FALSE;
                        
@@ -367,8 +359,6 @@ bool ETagDB::LoadETagDB(){
         
                if (ETagDBFile.Open(AccountETagDB, wxConvUTF8) == FALSE){
                
-                       ////ProcessLock.unlock();
-                       //ProcessLock->unlock();
                        return FALSE;
                
                }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy