From 1b4c681a88f46f77da462ae89ad7d0e3d0347112 Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 17 Jan 2022 12:47:48 +0100 Subject: [PATCH] new: [Outbox] entity added - to inherit the appModel functions --- src/Controller/LocalToolsController.php | 2 -- src/Model/Entity/Outbox.php | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/Model/Entity/Outbox.php diff --git a/src/Controller/LocalToolsController.php b/src/Controller/LocalToolsController.php index a0d31b9..4040c9b 100644 --- a/src/Controller/LocalToolsController.php +++ b/src/Controller/LocalToolsController.php @@ -355,10 +355,8 @@ class LocalToolsController extends AppController $params['target_tool_id'] = $postParams['target_tool_id']; $result = $this->LocalTools->encodeLocalConnection($params); // Send message to remote inbox - debug($result); } else { $target_tools = $this->LocalTools->findConnectable($local_tool); - debug($target_tools); if (empty($target_tools)) { throw new NotFoundException(__('No tools found to connect.')); } diff --git a/src/Model/Entity/Outbox.php b/src/Model/Entity/Outbox.php new file mode 100644 index 0000000..51304e6 --- /dev/null +++ b/src/Model/Entity/Outbox.php @@ -0,0 +1,11 @@ +