parent
883954c11f
commit
1b4c681a88
|
@ -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.'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Model\Entity;
|
||||||
|
|
||||||
|
use App\Model\Entity\AppModel;
|
||||||
|
use Cake\ORM\Entity;
|
||||||
|
|
||||||
|
class Outbox extends AppModel
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue