mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-29 14:46:49 +01:00
Twig_SimpleFilter is deprecated
This commit is contained in:
@@ -30,7 +30,7 @@ if($dev_mode) {
|
||||
}
|
||||
unset($dev_mode);
|
||||
|
||||
$filter = new Twig_SimpleFilter('timeago', function ($datetime) {
|
||||
$filter = new TwigFilter('timeago', function ($datetime) {
|
||||
|
||||
$time = time() - strtotime($datetime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user