# HG changeset patch # User Matti Hamalainen # Date 1503912273 -10800 # Node ID 0a7aff5dce3b5400165558522c4b65862c8aed3d # Parent 753ae3569cb7340e88215042376e43a728941866 Oops, CURL stuff leftovers. Remove. diff -r 753ae3569cb7 -r 0a7aff5dce3b src/main.cpp --- 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; diff -r 753ae3569cb7 -r 0a7aff5dce3b src/main.h --- 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 # include #endif -#ifdef USE_LIBCURL -# include -#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 //