aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-05 09:35:42 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-11 21:58:55 +0200
commit3aca0a9f00417b64203a660dee0a2b4c0fe22ac8 (patch)
tree502decde8d28b6a29e7c3b8fffbc7a44767e3d9d
parent3849a9f3231c0109c87af085452c3ac5e4aed303 (diff)
downloadwallabag-3aca0a9f00417b64203a660dee0a2b4c0fe22ac8.tar.gz
wallabag-3aca0a9f00417b64203a660dee0a2b4c0fe22ac8.tar.zst
wallabag-3aca0a9f00417b64203a660dee0a2b4c0fe22ac8.zip
CS
-rw-r--r--src/Wallabag/ImportBundle/Import/AbstractImport.php2
-rw-r--r--src/Wallabag/ImportBundle/Import/PocketImport.php2
-rw-r--r--src/Wallabag/ImportBundle/Import/ReadabilityImport.php2
-rw-r--r--src/Wallabag/ImportBundle/Import/WallabagImport.php2
4 files changed, 2 insertions, 6 deletions
diff --git a/src/Wallabag/ImportBundle/Import/AbstractImport.php b/src/Wallabag/ImportBundle/Import/AbstractImport.php
index b085dc3a..8610062d 100644
--- a/src/Wallabag/ImportBundle/Import/AbstractImport.php
+++ b/src/Wallabag/ImportBundle/Import/AbstractImport.php
@@ -18,6 +18,8 @@ abstract class AbstractImport implements ImportInterface
18 protected $producer; 18 protected $producer;
19 protected $user; 19 protected $user;
20 protected $markAsRead; 20 protected $markAsRead;
21 protected $skippedEntries = 0;
22 protected $importedEntries = 0;
21 23
22 public function __construct(EntityManager $em, ContentProxy $contentProxy) 24 public function __construct(EntityManager $em, ContentProxy $contentProxy)
23 { 25 {
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php
index 5850deba..845380b7 100644
--- a/src/Wallabag/ImportBundle/Import/PocketImport.php
+++ b/src/Wallabag/ImportBundle/Import/PocketImport.php
@@ -14,8 +14,6 @@ class PocketImport extends AbstractImport
14{ 14{
15 private $client; 15 private $client;
16 private $consumerKey; 16 private $consumerKey;
17 private $skippedEntries = 0;
18 private $importedEntries = 0;
19 private $accessToken; 17 private $accessToken;
20 18
21 const NB_ELEMENTS = 5000; 19 const NB_ELEMENTS = 5000;
diff --git a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php
index 64ef62bf..915d4cd3 100644
--- a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php
+++ b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php
@@ -6,8 +6,6 @@ use Wallabag\CoreBundle\Entity\Entry;
6 6
7class ReadabilityImport extends AbstractImport 7class ReadabilityImport extends AbstractImport
8{ 8{
9 private $skippedEntries = 0;
10 private $importedEntries = 0;
11 private $filepath; 9 private $filepath;
12 10
13 /** 11 /**
diff --git a/src/Wallabag/ImportBundle/Import/WallabagImport.php b/src/Wallabag/ImportBundle/Import/WallabagImport.php
index 8e18e0ef..026567b0 100644
--- a/src/Wallabag/ImportBundle/Import/WallabagImport.php
+++ b/src/Wallabag/ImportBundle/Import/WallabagImport.php
@@ -6,8 +6,6 @@ use Wallabag\CoreBundle\Entity\Entry;
6 6
7abstract class WallabagImport extends AbstractImport 7abstract class WallabagImport extends AbstractImport
8{ 8{
9 protected $skippedEntries = 0;
10 protected $importedEntries = 0;
11 protected $filepath; 9 protected $filepath;
12 // untitled in all languages from v1 10 // untitled in all languages from v1
13 protected $untitled = [ 11 protected $untitled = [