Remove unused flag_delete_key

This commit is contained in:
kannibalox
2024-11-11 10:48:23 -05:00
committed by Jari Sundell
parent f2f84dd97a
commit 5abcf52e55
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ CommandMap::create_redirect(const key_type& key_new, const key_type& key_dest, i
dest_itr->second.m_flags |= flag_has_redirects;
flags |= dest_itr->second.m_flags & ~(flag_delete_key | flag_has_redirects | flag_public_xmlrpc);
flags |= dest_itr->second.m_flags & ~(flag_has_redirects | flag_public_xmlrpc);
// TODO: This is not honoring the public_xmlrpc flags!!!
if (rpc::xmlrpc.is_valid() && (flags & flag_public_xmlrpc))
-1
View File
@@ -86,7 +86,6 @@ public:
using base_type::find;
static const int flag_dont_delete = 0x1;
static const int flag_delete_key = 0x2;
static const int flag_public_xmlrpc = 0x4;
static const int flag_modifiable = 0x10;
static const int flag_is_redirect = 0x20;