You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2012/12/20 16:20:35 UTC

svn commit: r1424520 - /qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp

Author: chug
Date: Thu Dec 20 15:20:35 2012
New Revision: 1424520

URL: http://svn.apache.org/viewvc?rev=1424520&view=rev
Log:
QPID-4514: Remove obsolete cluster code: still more in plugin


Modified:
    qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp?rev=1424520&r1=1424519&r2=1424520&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/legacystore/StorePlugin.cpp Thu Dec 20 15:20:35 2012
@@ -64,13 +64,8 @@ struct StorePlugin : public Plugin {
         Broker* broker = dynamic_cast<Broker*>(&target);
         if (!broker) return;
         if (!store) return;
-        // Not done in earlyInitialize as the Broker::isInCluster test won't work there.
-        if (broker->isInCluster()) {
-            QPID_LOG(info, "Disabling management instrumentation for the store in a cluster.");
-        } else {
-            QPID_LOG(info, "Enabling management instrumentation for the store.");
-            store->initManagement(broker);
-        }
+        QPID_LOG(info, "Enabling management instrumentation for the store.");
+        store->initManagement(broker);
     }
 
     void finalize()



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org