enable renamed links
This commit is contained in:
@@ -360,6 +360,14 @@ def rename_link(
|
|||||||
""",
|
""",
|
||||||
(new_url, new_norm, get_site(new_url), row["id"]),
|
(new_url, new_norm, get_site(new_url), row["id"]),
|
||||||
)
|
)
|
||||||
|
conn.execute(
|
||||||
|
"""
|
||||||
|
UPDATE links
|
||||||
|
SET enabled = 1, disabled_at = NULL, requires_revision = 0
|
||||||
|
WHERE id = ?
|
||||||
|
""",
|
||||||
|
(row["id"],),
|
||||||
|
)
|
||||||
add_history(
|
add_history(
|
||||||
conn,
|
conn,
|
||||||
user_name,
|
user_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user