Revert "Implement the Delete interface"

This reverts commit 433beadcb8b0af4ebdc05e2b46be0be0ac3085e6.

As objects will be deleted on phosphor-logging interfaces removed
signals, the Delete interface is no longer required.

Tested: Ensure the REST Delete calls still work via the
        InterfacesRemoved handler.

Change-Id: I08f0b8fddf85ed1122175b1a66b9e2decbbf6cdf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/manager.cpp b/manager.cpp
index d47b3ad..276a5a5 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 #include "config.h"
-#include "delete.hpp"
 #include "manager.hpp"
 #include "policy_find.hpp"
 
@@ -69,19 +68,6 @@
 #ifdef USE_POLICY_INTERFACE
     createPolicyInterface(objectPath, properties);
 #endif
-
-    // Emits the interfaces added signal.
-    createDeleteInterface(objectPath);
-}
-
-void Manager::erase(const std::string& objectPath)
-{
-    auto entry = entries.find(getEntryID(objectPath));
-
-    if (entry != entries.end())
-    {
-        entries.erase(entry);
-    }
 }
 
 void Manager::addInterface(const std::string& objectPath, InterfaceType type,
@@ -102,14 +88,6 @@
     }
 }
 
-void Manager::createDeleteInterface(const std::string& objectPath)
-{
-    std::experimental::any object =
-        std::make_shared<Delete>(bus, objectPath, *this, false);
-
-    addInterface(objectPath, InterfaceType::DELETE, object);
-}
-
 #ifdef USE_POLICY_INTERFACE
 void Manager::createPolicyInterface(const std::string& objectPath,
                                     const DbusPropertyMap& properties)
@@ -121,6 +99,8 @@
     object->eventID(std::get<policy::EIDField>(values));
     object->description(std::get<policy::MsgField>(values));
 
+    object->emit_object_added();
+
     std::experimental::any anyObject = object;
 
     addInterface(objectPath, InterfaceType::POLICY, anyObject);