mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Add routes for current BaseModules
This commit is contained in:
parent
a4c2de7a0b
commit
b6b9e57488
4 changed files with 13 additions and 5 deletions
|
@ -8,8 +8,8 @@ namespace Friendica\Module;
|
|||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Model\Attach as MAttach;
|
||||
|
||||
/**
|
||||
|
@ -26,8 +26,8 @@ class Attach extends BaseModule
|
|||
if ($a->argc != 2) {
|
||||
System::httpExit(400); // Bad Request.
|
||||
}
|
||||
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
$item_id = intval($a->argv[1]);
|
||||
|
||||
// Check for existence
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue