From 4edbe14669b7804180d8b58549e257ceb679bb1d Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Fri, 30 May 2014 09:56:36 -0400 Subject: SERVER-13961 Pass LockState to DBWrite and DBRead directly This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS. --- src/mongo/db/restapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/restapi.h') diff --git a/src/mongo/db/restapi.h b/src/mongo/db/restapi.h index e170e740b20..d73103ab785 100644 --- a/src/mongo/db/restapi.h +++ b/src/mongo/db/restapi.h @@ -43,7 +43,7 @@ namespace mongo { public: virtual ~RestAdminAccess() { } - virtual bool haveAdminUsers() const; + virtual bool haveAdminUsers(OperationContext* txn) const; }; } // namespace mongo -- cgit v1.2.1