diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-07-11 09:21:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 09:21:49 +0200 |
commit | f39152ad6e62f1ea43f501e88a8839526d77ef6c (patch) | |
tree | 5bdf25175149ad32c99d956028cd81c1eed56642 /src/Wallabag/CoreBundle/Controller | |
parent | c7fcca533d90f2c285b64ce7b2f1186273719fe7 (diff) | |
parent | eeabca8090ebf9a084b6b823ddf7c6493b956d4c (diff) | |
download | wallabag-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/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ExportController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ExportController.php b/src/Wallabag/CoreBundle/Controller/ExportController.php index 6fad122e..35a22046 100644 --- a/src/Wallabag/CoreBundle/Controller/ExportController.php +++ b/src/Wallabag/CoreBundle/Controller/ExportController.php | |||
@@ -33,6 +33,7 @@ class ExportController extends Controller | |||
33 | return $this->get('wallabag_core.helper.entries_export') | 33 | return $this->get('wallabag_core.helper.entries_export') |
34 | ->setEntries($entry) | 34 | ->setEntries($entry) |
35 | ->updateTitle('entry') | 35 | ->updateTitle('entry') |
36 | ->updateAuthor('entry') | ||
36 | ->exportAs($format); | 37 | ->exportAs($format); |
37 | } catch (\InvalidArgumentException $e) { | 38 | } catch (\InvalidArgumentException $e) { |
38 | throw new NotFoundHttpException($e->getMessage()); | 39 | throw new NotFoundHttpException($e->getMessage()); |
@@ -76,6 +77,7 @@ class ExportController extends Controller | |||
76 | return $this->get('wallabag_core.helper.entries_export') | 77 | return $this->get('wallabag_core.helper.entries_export') |
77 | ->setEntries($entries) | 78 | ->setEntries($entries) |
78 | ->updateTitle($method) | 79 | ->updateTitle($method) |
80 | ->updateAuthor($method) | ||
79 | ->exportAs($format); | 81 | ->exportAs($format); |
80 | } catch (\InvalidArgumentException $e) { | 82 | } catch (\InvalidArgumentException $e) { |
81 | throw new NotFoundHttpException($e->getMessage()); | 83 | throw new NotFoundHttpException($e->getMessage()); |