[Pkg-owncloud-commits] [owncloud-client] 181/332: folder: remove TOKEN_AUTH_ONLY

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:06:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit e0c2e8ed86ad38ca47677bc0c5ab528125dfd372
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Jul 8 13:02:25 2014 +0200

    folder: remove TOKEN_AUTH_ONLY
    
    Folder is no longer in the libowncloudsync
---
 src/mirall/folder.cpp    | 4 ----
 src/mirall/folderman.cpp | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index aac7d1c..f534a2e 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -35,10 +35,8 @@
 #include <QUrl>
 #include <QDir>
 
-#ifndef TOKEN_AUTH_ONLY
 #include <QMessageBox>
 #include <QPushButton>
-#endif
 
 namespace Mirall {
 
@@ -715,7 +713,6 @@ void Folder::slotJobCompleted(const SyncFileItem &item)
 
 void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction direction, bool *cancel)
 {
-#ifndef TOKEN_AUTH_ONLY
     QString msg = direction == SyncFileItem::Down ?
         tr("This sync would remove all the files in the local sync folder '%1'.\n"
            "If you or your administrator have reset your account on the server, choose "
@@ -739,7 +736,6 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction direction, bool *
         _lastEtag = QString();
         QTimer::singleShot(50, this, SLOT(slotPollTimerTimeout()));
     }
-#endif
 }
 } // namespace Mirall
 
diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp
index 5b55e4c..496608b 100644
--- a/src/mirall/folderman.cpp
+++ b/src/mirall/folderman.cpp
@@ -27,9 +27,7 @@
 #include <shlobj.h>
 #endif
 
-#ifndef TOKEN_AUTH_ONLY
 #include <QMessageBox>
-#endif
 
 #include <QtCore>
 
@@ -164,7 +162,6 @@ int FolderMan::setupFolders()
 bool FolderMan::ensureJournalGone(const QString &localPath)
 {
 	// FIXME move this to UI, not libowncloudsync
-#ifndef TOKEN_AUTH_ONLY
     // remove old .csync_journal file
     QString stateDbFile = localPath+QLatin1String("/.csync_journal.db");
     while (QFile::exists(stateDbFile) && !QFile::remove(stateDbFile)) {
@@ -178,7 +175,6 @@ bool FolderMan::ensureJournalGone(const QString &localPath)
             return false;
         }
     }
-#endif
     return true;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list