diff --git a/files/routes/admin.py b/files/routes/admin.py index 26e533e88..ff2d43eaa 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -164,22 +164,13 @@ def move_acc(v:User, new_id, old_id): update users set friends_html=replace(friends_html, '', '') where friends_html like '%%'; update users set enemies_html=replace(enemies_html, '', '') where enemies_html like '%%'; - update submissions set body_html=replace(body_html, '', '') where body_html like '%%'; - update comments set body_html=replace(body_html, '', '') where body_html like '%%'; - update subs set sidebar_html=replace(sidebar_html, '', '') where sidebar_html like '%%'; - update users set bio_html=replace(bio_html, '', '') where bio_html like '%%'; - update users set sig_html=replace(sig_html, '', '') where sig_html like '%%'; - update users set friends_html=replace(friends_html, '', '') where friends_html like '%%'; - update users set enemies_html=replace(enemies_html, '', '') where enemies_html like '%%'; - - update submissions set body_html=replace(body_html, '', '') where body_html like '%%'; - update comments set body_html=replace(body_html, '', '') where body_html like '%%'; - update subs set sidebar_html=replace(sidebar_html, '', '') where sidebar_html like '%%'; - update users set bio_html=replace(bio_html, '', '') where bio_html like '%%'; - update users set sig_html=replace(sig_html, '', '') where sig_html like '%%'; - update users set friends_html=replace(friends_html, '', '') where friends_html like '%%'; - update users set enemies_html=replace(enemies_html, '', '') where enemies_html like '%%'; - ''' + update submissions set body_html=replace(body_html, '', '') where body_html like '%%'; + update comments set body_html=replace(body_html, '', '') where body_html like '%%'; + update subs set sidebar_html=replace(sidebar_html, '', '') where sidebar_html like '%%'; + update users set bio_html=replace(bio_html, '', '') where bio_html like '%%'; + update users set sig_html=replace(sig_html, '', '') where sig_html like '%%'; + update users set friends_html=replace(friends_html, '', '') where friends_html like '%%'; + update users set enemies_html=replace(enemies_html, '', '') where enemies_html like '%%'; ''' g.db.execute(update_statement)