aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/api/ApiMiddleware.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-02-09 13:52:12 +0100
committerArthurHoaro <arthur@hoa.ro>2019-02-09 13:55:11 +0100
commit520d29578c57e476ece3bdd20c286d196b7b61b4 (patch)
tree6f221285ec8e30d6ddfb32e996949738ebaa410a /application/api/ApiMiddleware.php
parent905f8675a728841b03b300d2c7dc909a1c4f7f03 (diff)
downloadShaarli-520d29578c57e476ece3bdd20c286d196b7b61b4.tar.gz
Shaarli-520d29578c57e476ece3bdd20c286d196b7b61b4.tar.zst
Shaarli-520d29578c57e476ece3bdd20c286d196b7b61b4.zip
Remove the redirector setting
Fixes #1239
Diffstat (limited to 'application/api/ApiMiddleware.php')
-rw-r--r--application/api/ApiMiddleware.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/application/api/ApiMiddleware.php b/application/api/ApiMiddleware.php
index 5ffb8c6d..2d55bda6 100644
--- a/application/api/ApiMiddleware.php
+++ b/application/api/ApiMiddleware.php
@@ -129,9 +129,7 @@ class ApiMiddleware
129 $linkDb = new \Shaarli\Bookmark\LinkDB( 129 $linkDb = new \Shaarli\Bookmark\LinkDB(
130 $conf->get('resource.datastore'), 130 $conf->get('resource.datastore'),
131 true, 131 true,
132 $conf->get('privacy.hide_public_links'), 132 $conf->get('privacy.hide_public_links')
133 $conf->get('redirector.url'),
134 $conf->get('redirector.encode_url')
135 ); 133 );
136 $this->container['db'] = $linkDb; 134 $this->container['db'] = $linkDb;
137 } 135 }