// Copyright 2026 Moko Consulting <hello@mokoconsulting.tech>
// SPDX-License-Identifier: GPL-3.0-or-later

package setting

import (
	"code.mokoconsulting.tech/MokoConsulting/MokoGitea/services/context"
)

// LicensingSettings redirects to the manifest page where licensing is now consolidated.
func LicensingSettings(ctx *context.Context) {
	ctx.Redirect(ctx.Repo.RepoLink + "/settings/updateserver")
}

// LicensingSettingsPost redirects POST to the manifest page.
func LicensingSettingsPost(ctx *context.Context) {
	ctx.Redirect(ctx.Repo.RepoLink + "/settings/updateserver")
}
