Skip to content

Commit

Permalink
BackupStoreContext: remove unused GetClientID() API method
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jun 8, 2018
1 parent c401f64 commit d7330ca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/backupstore/BackupStoreContext.h
Expand Up @@ -196,12 +196,6 @@ class BackupStoreContext
std::auto_ptr<IOStream> GetBlockIndexReconstructed(int64_t ObjectID, int64_t InDirectory);

// Info
// GetClientID() is only used by BackupProtocolLogin::DoCommand to check that the supplied
// ID matches the one in the certificate, which BackupStoreDaemon supplies when it
// constructs the BackupStoreContext. Thus it is only used, and only initialised, when
// constructed by the non-BackupFileSystem constructor, which only BackupStoreDaemon
// should use.
int32_t GetClientID() const {return mClientID;}
const std::string& GetConnectionDetails() { return mConnectionDetails; }
std::string GetAccountIdentifier();
virtual int GetBlockSize() { return mpFileSystem->GetBlockSize(); }
Expand Down

0 comments on commit d7330ca

Please sign in to comment.