use Friendica\Network\HTTPException;
use Friendica\Util\Strings;
+/**
+ * Account delegation settings module
+ */
class Delegation extends BaseSettingsModule
{
public static function post()
/** @var Arguments $args */
$args = self::getClass(Arguments::class);
+ // @TODO Replace with router-provided arguments
$action = $args->get(2);
$user_id = $args->get(3);
+
if ($action === 'add' && $user_id) {
if (Session::get('submanage')) {
notice(L10n::t('Delegated administrators can view but not change delegation permissions.'));