From 12de1f9569fd03c2aa3657a70a3f077a0fab4a42 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 17 Jan 2018 15:31:25 -0500 Subject: [PATCH] Remove orphan documentation pages --- doc/readme.md | 49 ------------------------------------------------- doc/upgrade.md | 34 ---------------------------------- 2 files changed, 83 deletions(-) delete mode 100644 doc/readme.md delete mode 100644 doc/upgrade.md diff --git a/doc/readme.md b/doc/readme.md deleted file mode 100644 index 28e6c8709..000000000 --- a/doc/readme.md +++ /dev/null @@ -1,49 +0,0 @@ -Friendica Documentation and Resources -===================================== - -**Contents** - -* General functions - first steps - * [Account Basics](help/Account-Basics) - * [New User Quick Start](help/Quick-Start-guide) - * [Creating posts](help/Text_editor) - * [BBCode tag reference](help/BBCode) - * [Comment, sort and delete posts](help/Text_comment) - * [Profiles](help/Profiles) -* You and other user - * [Connectors](help/Connectors) - * [Making Friends](help/Making-Friends) - * [Groups and Privacy](help/Groups-and-Privacy) - * [Tags and Mentions](help/Tags-and-Mentions) - * [Community Forums](help/Forums) - * [Chats](help/Chats) -* Further information - * [Improve Performance](help/Improve-Performance) - * [Move Account](help/Move-Account) - * [Remove Account](help/Remove-Account) - * [Bugs and Issues](help/Bugs-and-Issues) - * [Frequently asked questions (FAQ)](help/FAQ) - -**Technical Documentation** - -* [Install](help/Install) -* [Settings & Admin Panel](help/Settings) -* [Plugins](help/Plugins) -* [Installing Connectors (Twitter/GNU Social)](help/Installing-Connectors) -* [Install an ejabberd server (XMPP chat) with synchronized credentials](help/install-ejabberd) -* [Message Flow](help/Message-Flow) -* [Using SSL with Friendica](help/SSL) -* [Developers](help/Developers) -* [Twitter/GNU Social API Functions](help/api) -* [Translation of Friendica](help/translations) - - -**External Resources** - -* [Main Website](https://friendi.ca) -* [Mailing List Archive](http://librelist.com/browser/friendica/) - -**About** - -* [Site/Version Info](friendica) - diff --git a/doc/upgrade.md b/doc/upgrade.md deleted file mode 100644 index 778f9355e..000000000 --- a/doc/upgrade.md +++ /dev/null @@ -1,34 +0,0 @@ -# Considerations before upgrading Friendica - -* [Home](help) - -## MySQL >= 5.7.4 - -Starting from MySQL version 5.7.4, the IGNORE keyword in ALTER TABLE statements is ignored. -This prevents automatic table deduplication if a UNIQUE index is added to a Friendica table's structure. -If a DB update fails for you while creating a UNIQUE index, make sure to manually deduplicate the table before trying the update again. - -### Manual deduplication - -There are two main ways of doing it, either by manually removing the duplicates or by recreating the table. -Manually removing the duplicates is usually faster if they're not too numerous. -To manually remove the duplicates, you need to know the UNIQUE index columns available in `database.sql`. - -```SQL -SELECT GROUP_CONCAT(id), , count(*) as count FROM users -GROUP BY HAVING count >= 2; - -/* delete or merge duplicate from above query */; -``` - -If there are too many rows to handle manually, you can create a new table with the same structure as the table with duplicates and insert the existing content with INSERT IGNORE. -To recreate the table you need to know the table structure available in `database.sql`. - -```SQL -CREATE TABLE _new ; -INSERT IGNORE INTO _new SELECT * FROM ; -DROP TABLE ; -RENAME TABLE _new TO ; -``` - -This method is slower overall, but it is better suited for large numbers of duplicates. \ No newline at end of file