Title here
Summary here
While quite a rare occurrence, it sometimes happens that a user is left with global Echo notifications from wikis that are either now private or have been deleted. There is currently no other method to get rid of them globally, so this method must be used in order to remove the notification for the user.
mhglobal databaseSELECT gu_id FROM globaluser WHERE gu_name = '[USERNAME]';metawiki databaseDELETE FROM echo_unread_wikis WHERE euw_user = '[RESULT FROM PREVIOUS QUERY]' AND euw_wiki = '[desired wiki]';SELECT user_id FROM user WHERE user_name = '[USERNAME]';UPDATE echo_notification SET notification_read_timestamp="[SOME TIMESTAMP PRIOR TO NOW]" WHERE notification_read_timestamp IS NULL AND notification_user=[RESULT FROM PREVIOUS QUERY];