aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/api
diff options
context:
space:
mode:
Diffstat (limited to 'application/api')
-rw-r--r--application/api/ApiMiddleware.php2
-rw-r--r--application/api/controllers/ApiController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/api/ApiMiddleware.php b/application/api/ApiMiddleware.php
index 66eac133..a2101f29 100644
--- a/application/api/ApiMiddleware.php
+++ b/application/api/ApiMiddleware.php
@@ -127,7 +127,7 @@ class ApiMiddleware
127 */ 127 */
128 protected function setLinkDb($conf) 128 protected function setLinkDb($conf)
129 { 129 {
130 $linkDb = new \LinkDB( 130 $linkDb = new \Shaarli\Bookmark\LinkDB(
131 $conf->get('resource.datastore'), 131 $conf->get('resource.datastore'),
132 true, 132 true,
133 $conf->get('privacy.hide_public_links'), 133 $conf->get('privacy.hide_public_links'),
diff --git a/application/api/controllers/ApiController.php b/application/api/controllers/ApiController.php
index 47e0e178..cab97dc4 100644
--- a/application/api/controllers/ApiController.php
+++ b/application/api/controllers/ApiController.php
@@ -25,7 +25,7 @@ abstract class ApiController
25 protected $conf; 25 protected $conf;
26 26
27 /** 27 /**
28 * @var \LinkDB 28 * @var \Shaarli\Bookmark\LinkDB
29 */ 29 */
30 protected $linkDb; 30 protected $linkDb;
31 31