diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-21 10:59:21 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-31 14:48:26 +0100 |
commit | 1e3ed714707878caa603ffdc262e64abb6ddfb5c (patch) | |
tree | 7aa58352b0a76a8c5efd78667fdf87a01289591a /src/Wallabag/ImportBundle/Controller | |
parent | 63e40f2d7c4074aff0be587c828eb511a6b7c878 (diff) | |
download | wallabag-1e3ed714707878caa603ffdc262e64abb6ddfb5c.tar.gz wallabag-1e3ed714707878caa603ffdc262e64abb6ddfb5c.tar.zst wallabag-1e3ed714707878caa603ffdc262e64abb6ddfb5c.zip |
Add warning message for PocketImport
Warn user if pocket_consumer_key isn't defined
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller')
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/PocketController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/PocketController.php b/src/Wallabag/ImportBundle/Controller/PocketController.php index 7aee302f..1c1b4fa8 100644 --- a/src/Wallabag/ImportBundle/Controller/PocketController.php +++ b/src/Wallabag/ImportBundle/Controller/PocketController.php | |||
@@ -15,6 +15,7 @@ class PocketController extends Controller | |||
15 | { | 15 | { |
16 | return $this->render('WallabagImportBundle:Pocket:index.html.twig', [ | 16 | return $this->render('WallabagImportBundle:Pocket:index.html.twig', [ |
17 | 'import' => $this->get('wallabag_import.pocket.import'), | 17 | 'import' => $this->get('wallabag_import.pocket.import'), |
18 | 'has_consumer_key' => '' == trim($this->get('craue_config')->get('pocket_consumer_key')) ? false : true, | ||
18 | ]); | 19 | ]); |
19 | } | 20 | } |
20 | 21 | ||