diff Plugin/PluginContext.cpp @ 5:5e6de82bb10f

use of user properties instead of BidirectionalPeers option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Sep 2018 15:39:02 +0200
parents 95226b754d9e
children 4c3437217518
line wrap: on
line diff
--- a/Plugin/PluginContext.cpp	Mon Sep 17 14:42:57 2018 +0200
+++ b/Plugin/PluginContext.cpp	Tue Sep 18 15:39:02 2018 +0200
@@ -58,23 +58,6 @@
   }
 
   
-  bool PluginContext::LookupBidirectionalPeer(std::string& remoteSelf,
-                                              const std::string& remotePeer) const
-  {
-    BidirectionalPeers::const_iterator found = bidirectionalPeers_.find(remotePeer);
-
-    if (found == bidirectionalPeers_.end())
-    {
-      return false;
-    }
-    else
-    {
-      remoteSelf = found->second;
-      return true;
-    }
-  }
-  
-
   void PluginContext::Initialize(OrthancPluginContext* context,
                                  size_t threadsCount,
                                  size_t targetBucketSize,