diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-08 21:46:32 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-08 21:46:32 +0200 |
commit | 5425b0dd82863d548f49dcbd81636ed8dabd7866 (patch) | |
tree | db5631725be9be0fc1a179af414041a09de05032 /inc/poche/Poche.class.php | |
parent | 4247b37551ae8aa35840ddadcec1c781a8e56d4b (diff) | |
download | wallabag-5425b0dd82863d548f49dcbd81636ed8dabd7866.tar.gz wallabag-5425b0dd82863d548f49dcbd81636ed8dabd7866.tar.zst wallabag-5425b0dd82863d548f49dcbd81636ed8dabd7866.zip |
new fields in database, reading time / date and domain name are stored
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-x | inc/poche/Poche.class.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 09a9f5ff..e8c32024 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -232,14 +232,6 @@ class Poche | |||
232 | 232 | ||
233 | $this->tpl = new Twig_Environment($loaderChain, $twigParams); | 233 | $this->tpl = new Twig_Environment($loaderChain, $twigParams); |
234 | $this->tpl->addExtension(new Twig_Extensions_Extension_I18n()); | 234 | $this->tpl->addExtension(new Twig_Extensions_Extension_I18n()); |
235 | |||
236 | # filter to display domain name of an url | ||
237 | $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); | ||
238 | $this->tpl->addFilter($filter); | ||
239 | |||
240 | # filter for reading time | ||
241 | $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime'); | ||
242 | $this->tpl->addFilter($filter); | ||
243 | } | 235 | } |
244 | 236 | ||
245 | public function createNewUser() { | 237 | public function createNewUser() { |