new fields in database, reading time / date and domain name are stored

This commit is contained in:
Nicolas Lœuillet
2014-07-08 21:46:32 +02:00
parent 4247b37551
commit 5425b0dd82
5 changed files with 26 additions and 28 deletions

View File

@ -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() {