aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/BookmarkFileService.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/bookmark/BookmarkFileService.php')
-rw-r--r--application/bookmark/BookmarkFileService.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/application/bookmark/BookmarkFileService.php b/application/bookmark/BookmarkFileService.php
index 8ea37427..e64eeafb 100644
--- a/application/bookmark/BookmarkFileService.php
+++ b/application/bookmark/BookmarkFileService.php
@@ -15,6 +15,7 @@ use Shaarli\Formatter\BookmarkMarkdownFormatter;
15use Shaarli\History; 15use Shaarli\History;
16use Shaarli\Legacy\LegacyLinkDB; 16use Shaarli\Legacy\LegacyLinkDB;
17use Shaarli\Legacy\LegacyUpdater; 17use Shaarli\Legacy\LegacyUpdater;
18use Shaarli\Plugin\PluginManager;
18use Shaarli\Render\PageCacheManager; 19use Shaarli\Render\PageCacheManager;
19use Shaarli\Updater\UpdaterUtils; 20use Shaarli\Updater\UpdaterUtils;
20 21
@@ -40,6 +41,9 @@ class BookmarkFileService implements BookmarkServiceInterface
40 /** @var ConfigManager instance */ 41 /** @var ConfigManager instance */
41 protected $conf; 42 protected $conf;
42 43
44 /** @var PluginManager */
45 protected $pluginManager;
46
43 /** @var History instance */ 47 /** @var History instance */
44 protected $history; 48 protected $history;
45 49
@@ -57,6 +61,7 @@ class BookmarkFileService implements BookmarkServiceInterface
57 */ 61 */
58 public function __construct( 62 public function __construct(
59 ConfigManager $conf, 63 ConfigManager $conf,
64 PluginManager $pluginManager,
60 History $history, 65 History $history,
61 Mutex $mutex, 66 Mutex $mutex,
62 bool $isLoggedIn 67 bool $isLoggedIn
@@ -95,7 +100,8 @@ class BookmarkFileService implements BookmarkServiceInterface
95 } 100 }
96 } 101 }
97 102
98 $this->bookmarkFilter = new BookmarkFilter($this->bookmarks, $this->conf); 103 $this->pluginManager = $pluginManager;
104 $this->bookmarkFilter = new BookmarkFilter($this->bookmarks, $this->conf, $this->pluginManager);
99 } 105 }
100 106
101 /** 107 /**