changeset 152:0a7aff5dce3b

Oops, CURL stuff leftovers. Remove.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 Aug 2017 12:24:33 +0300
parents 753ae3569cb7
children 794a2387e92a
files src/main.cpp src/main.h
diffstat 2 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp	Mon Aug 28 11:51:03 2017 +0300
+++ b/src/main.cpp	Mon Aug 28 12:24:33 2017 +0300
@@ -556,15 +556,6 @@
 #endif
     }
     else
-    if (settings.dbBackupMode == BACKUP_CURL_SFTP)
-    {
-#ifdef USE_LIBCURL
-#else
-        slLog("ERROR", QStringLiteral("Backup method is SFTP via libcurl, but support is not compiled in!"));
-        return;
-#endif
-    }
-    else
     {
         slLog("ERROR", QStringLiteral("Database backup mode is INVALID! Not performing backup!"));
         return;
--- a/src/main.h	Mon Aug 28 11:51:03 2017 +0300
+++ b/src/main.h	Mon Aug 28 12:24:33 2017 +0300
@@ -23,9 +23,6 @@
 #    include <QNetworkReply>
 #    include <QHttpMultiPart>
 #endif
-#ifdef USE_LIBCURL
-#    include <curl/curl.h>
-#endif
 
 
 //
@@ -45,7 +42,6 @@
 // Supported database backup modes
 #define BACKUP_NONE          0  // No backup
 #define BACKUP_HTTP          1  // HTTP(s) POST to a PHP script
-#define BACKUP_CURL_SFTP     2  // SFTP via libcurl
 
 
 //