new: [Outbox] entity added

- to inherit the appModel functions
pull/92/head
iglocska 2022-01-17 12:47:48 +01:00
parent 883954c11f
commit 1b4c681a88
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 11 additions and 2 deletions

View File

@ -355,10 +355,8 @@ class LocalToolsController extends AppController
$params['target_tool_id'] = $postParams['target_tool_id']; $params['target_tool_id'] = $postParams['target_tool_id'];
$result = $this->LocalTools->encodeLocalConnection($params); $result = $this->LocalTools->encodeLocalConnection($params);
// Send message to remote inbox // Send message to remote inbox
debug($result);
} else { } else {
$target_tools = $this->LocalTools->findConnectable($local_tool); $target_tools = $this->LocalTools->findConnectable($local_tool);
debug($target_tools);
if (empty($target_tools)) { if (empty($target_tools)) {
throw new NotFoundException(__('No tools found to connect.')); throw new NotFoundException(__('No tools found to connect.'));
} }

View File

@ -0,0 +1,11 @@
<?php
namespace App\Model\Entity;
use App\Model\Entity\AppModel;
use Cake\ORM\Entity;
class Outbox extends AppModel
{
}