diff --git a/urbackupserver/dao/ServerBackupDao.cpp b/urbackupserver/dao/ServerBackupDao.cpp index 14ea5b52..396d724b 100644 --- a/urbackupserver/dao/ServerBackupDao.cpp +++ b/urbackupserver/dao/ServerBackupDao.cpp @@ -1978,11 +1978,11 @@ ServerBackupDao::CondInt ServerBackupDao::getClientWithHashes(int clientid) /** * @-SQLGenAccess -* @func int ServerBackupDao::updateClientWithHashes +* @func void ServerBackupDao::updateClientWithHashes * @sql * UPDATE clients SET with_hashes=:with_hashes(int) WHERE id=:clientid(int) */ -int ServerBackupDao::updateClientWithHashes(int with_hashes, int clientid) +void ServerBackupDao::updateClientWithHashes(int with_hashes, int clientid) { if(q_updateClientWithHashes==NULL) { diff --git a/urbackupserver/dao/ServerBackupDao.h b/urbackupserver/dao/ServerBackupDao.h index e11dffe0..57c46e7f 100644 --- a/urbackupserver/dao/ServerBackupDao.h +++ b/urbackupserver/dao/ServerBackupDao.h @@ -96,10 +96,6 @@ public: std::string value_client; int use; }; - struct int - { - bool exists; - }; void addToOldBackupfolders(const std::string& backupfolder); @@ -187,7 +183,7 @@ public: void setCapa(int capa, int clientid); CondInt getCapa(int clientid); CondInt getClientWithHashes(int clientid); - int updateClientWithHashes(int with_hashes, int clientid); + void updateClientWithHashes(int with_hashes, int clientid); //@-SQLGenFunctionsEnd void updateOrInsertSetting(int clientid, const std::string& key, const std::string& value);