use Friendica\Model\Item;
use Friendica\Core\Session;
use Friendica\Network\HTTPException;
use Friendica\Model\Item;
use Friendica\Core\Session;
use Friendica\Network\HTTPException;
// @TODO: Replace with parameter from router
$itemId = (($app->argc > 1) ? Strings::escapeTags(trim($app->argv[1])) : 0);
// @TODO: Replace with parameter from router
$itemId = (($app->argc > 1) ? Strings::escapeTags(trim($app->argv[1])) : 0);
// Decide how to return. If we were called with a 'return' argument,
// then redirect back to the calling page. If not, just quietly end
// Decide how to return. If we were called with a 'return' argument,
// then redirect back to the calling page. If not, just quietly end