]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
new fields in database, reading time / date and domain name are stored
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 09a9f5ff85276423a29b505312d2f1cec66ead8a..e8c320249c01925302c293a405ada1f2771b06fa 100755 (executable)
@@ -232,14 +232,6 @@ class Poche
 
         $this->tpl = new Twig_Environment($loaderChain, $twigParams);
         $this->tpl->addExtension(new Twig_Extensions_Extension_I18n());
-
-        # filter to display domain name of an url
-        $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain');
-        $this->tpl->addFilter($filter);
-
-        # filter for reading time
-        $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime');
-        $this->tpl->addFilter($filter);
     }
 
     public function createNewUser() {