aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-07-11 09:21:49 +0200
committerGitHub <noreply@github.com>2017-07-11 09:21:49 +0200
commitf39152ad6e62f1ea43f501e88a8839526d77ef6c (patch)
tree5bdf25175149ad32c99d956028cd81c1eed56642 /src/Wallabag/CoreBundle/Command
parentc7fcca533d90f2c285b64ce7b2f1186273719fe7 (diff)
parenteeabca8090ebf9a084b6b823ddf7c6493b956d4c (diff)
downloadwallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.tar.gz
wallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.tar.zst
wallabag-f39152ad6e62f1ea43f501e88a8839526d77ef6c.zip
Merge pull request #3266 from egilli/export-domain-as-author
Use the article publisher as author for exported files
Diffstat (limited to 'src/Wallabag/CoreBundle/Command')
-rw-r--r--src/Wallabag/CoreBundle/Command/ExportCommand.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Command/ExportCommand.php b/src/Wallabag/CoreBundle/Command/ExportCommand.php
index 0dacb734..c2e4be05 100644
--- a/src/Wallabag/CoreBundle/Command/ExportCommand.php
+++ b/src/Wallabag/CoreBundle/Command/ExportCommand.php
@@ -56,6 +56,7 @@ class ExportCommand extends ContainerAwareCommand
56 $data = $this->getContainer()->get('wallabag_core.helper.entries_export') 56 $data = $this->getContainer()->get('wallabag_core.helper.entries_export')
57 ->setEntries($entries) 57 ->setEntries($entries)
58 ->updateTitle('All') 58 ->updateTitle('All')
59 ->updateAuthor('All')
59 ->exportJsonData(); 60 ->exportJsonData();
60 file_put_contents($filePath, $data); 61 file_put_contents($filePath, $data);
61 } catch (\InvalidArgumentException $e) { 62 } catch (\InvalidArgumentException $e) {