mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Fixup: Move internet port setting into config file
This commit is contained in:
parent
dc7013849c
commit
4631d2a8a4
@ -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)
|
||||
{
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user