diff options
Diffstat (limited to 'application/bookmark/BookmarkFileService.php')
-rw-r--r-- | application/bookmark/BookmarkFileService.php | 8 |
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; | |||
15 | use Shaarli\History; | 15 | use Shaarli\History; |
16 | use Shaarli\Legacy\LegacyLinkDB; | 16 | use Shaarli\Legacy\LegacyLinkDB; |
17 | use Shaarli\Legacy\LegacyUpdater; | 17 | use Shaarli\Legacy\LegacyUpdater; |
18 | use Shaarli\Plugin\PluginManager; | ||
18 | use Shaarli\Render\PageCacheManager; | 19 | use Shaarli\Render\PageCacheManager; |
19 | use Shaarli\Updater\UpdaterUtils; | 20 | use 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 | /** |