Skip to content

Commit 0d43e62

Browse files
committed
updates removing individual registerPlugin calls in favor of the generic tfsmarty one
1 parent 6fc3b51 commit 0d43e62

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/abuse.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ function_requirements('abuse_admin');
6565
');
6666
} else {
6767
$smarty = new TFSmarty();
68-
foreach (['strtoupper', 'in_array', 'json_encode'] as $function)
69-
$smarty->registerPlugin('modifier', $function, $function);
7068
page_title('Manage Abuse Complaints');
7169
if (isset($GLOBALS['tf']->variables->request['id'])) {
7270
$id = (int)$GLOBALS['tf']->variables->request['id'];

0 commit comments

Comments
 (0)