aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/BrowserImport.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-21 19:24:19 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-25 12:29:19 +0200
commit64b1229b2d711e6b2f0e60de482802d9e86b912f (patch)
treeecf92f4cfd2eaecc9eb894f933222ccc0439e9f9 /src/Wallabag/ImportBundle/Import/BrowserImport.php
parent2c61db30b737685ae9102ec10f2371778fb13f1a (diff)
downloadwallabag-64b1229b2d711e6b2f0e60de482802d9e86b912f.tar.gz
wallabag-64b1229b2d711e6b2f0e60de482802d9e86b912f.tar.zst
wallabag-64b1229b2d711e6b2f0e60de482802d9e86b912f.zip
fix tests
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/BrowserImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/BrowserImport.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php
index 3e1cb12b..198e148e 100644
--- a/src/Wallabag/ImportBundle/Import/BrowserImport.php
+++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php
@@ -31,13 +31,13 @@ abstract class BrowserImport extends AbstractImport
31 public function import() 31 public function import()
32 { 32 {
33 if (!$this->user) { 33 if (!$this->user) {
34 $this->logger->error('WallabagImport: user is not defined'); 34 $this->logger->error('Wallabag Browser Import: user is not defined');
35 35
36 return false; 36 return false;
37 } 37 }
38 38
39 if (!file_exists($this->filepath) || !is_readable($this->filepath)) { 39 if (!file_exists($this->filepath) || !is_readable($this->filepath)) {
40 $this->logger->error('WallabagImport: unable to read file', ['filepath' => $this->filepath]); 40 $this->logger->error('Wallabag Browser Import: unable to read file', ['filepath' => $this->filepath]);
41 41
42 return false; 42 return false;
43 } 43 }