]> git.mxchange.org Git - friendica.git/commitdiff
we only need one contact export, D* _only_ exports the entire profile
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Nov 2019 11:59:14 +0000 (12:59 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Nov 2019 11:59:14 +0000 (12:59 +0100)
src/Module/Settings/UserExport.php

index ee6460c7024b85cc99b83c813b84ae39fe5a56a9..74360f5cdda0e9209397b276fcc4e120177c2a16 100644 (file)
@@ -43,7 +43,7 @@ class UserExport extends BaseSettingsModule
                $options = [
                        ['settings/userexport/account', L10n::t('Export account'), L10n::t('Export your account info and contacts. Use this to make a backup of your account and/or to move it to another server.')],
                        ['settings/userexport/backup', L10n::t('Export all'), L10n::t("Export your accout info, contacts and all your items as json. Could be a very big file, and could take a lot of time. Use this to make a full backup of your account \x28photos are not exported\x29")],
-                       ['settings/userexport/contactcsv', L10n::t('Export Contacts to CSV'), L10n::t("Export the list of the accounts you are following as CSV file. Compatible to e.g. Mastodon.")],
+                       ['settings/userexport/contact', L10n::t('Export Contacts to CSV'), L10n::t("Export the list of the accounts you are following as CSV file. Compatible to e.g. Mastodon.")],
                ];
                Hook::callAll('uexport_options', $options);
 
@@ -79,7 +79,7 @@ class UserExport extends BaseSettingsModule
                                        self::exportAccount(self::getApp());
                                        exit();
                                        break;
-                               case "contactcsv":
+                               case "contact":
                                        header("Content-type: application/csv");
                                        header('Content-Disposition: attachment; filename="' . $user['nickname'] . '-contacts.csv'. '"');
                                        self::exportContactsAsCSV(self::getApp());