diff options
author | ArthurHoaro <arthur@hoa.ro> | 2021-02-04 11:11:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 11:11:33 +0100 |
commit | 9db1ccdf2ce8381e1f3acb581d3c6a6def095d8c (patch) | |
tree | 97a618b77d327a5f963c91522988e24db5a9e158 /application/api | |
parent | 8997ae6c8e24286f7d47981eaf905e80d2481c10 (diff) | |
parent | bcba6bd353161fab456b423e93571ab027d5423c (diff) | |
download | Shaarli-9db1ccdf2ce8381e1f3acb581d3c6a6def095d8c.tar.gz Shaarli-9db1ccdf2ce8381e1f3acb581d3c6a6def095d8c.tar.zst Shaarli-9db1ccdf2ce8381e1f3acb581d3c6a6def095d8c.zip |
New plugin hook: ability to add custom filters to Shaarli search engine
Diffstat (limited to 'application/api')
-rw-r--r-- | application/api/ApiMiddleware.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/api/ApiMiddleware.php b/application/api/ApiMiddleware.php index 9fb88358..cc7af18e 100644 --- a/application/api/ApiMiddleware.php +++ b/application/api/ApiMiddleware.php | |||
@@ -145,6 +145,7 @@ class ApiMiddleware | |||
145 | { | 145 | { |
146 | $linkDb = new BookmarkFileService( | 146 | $linkDb = new BookmarkFileService( |
147 | $conf, | 147 | $conf, |
148 | $this->container->get('pluginManager'), | ||
148 | $this->container->get('history'), | 149 | $this->container->get('history'), |
149 | new FlockMutex(fopen(SHAARLI_MUTEX_FILE, 'r'), 2), | 150 | new FlockMutex(fopen(SHAARLI_MUTEX_FILE, 'r'), 2), |
150 | true | 151 | true |