diff options
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index 1877556f356..57b3ce272ca 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -358,16 +358,12 @@ public: /* * Returns the list of API versions that include this command. */ - virtual const std::set<std::string>& apiVersions() const { - return kNoApiVersions; - } + virtual const std::set<std::string>& apiVersions() const; /* * Returns the list of API versions in which this command is deprecated. */ - virtual const std::set<std::string>& deprecatedApiVersions() const { - return kNoApiVersions; - } + virtual const std::set<std::string>& deprecatedApiVersions() const; /** * Like adminOnly, but even stricter: we must either be authenticated for admin db, |