From 0b15a4d76b7b9934f70319fc2132b91865fe58d1 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 19:46:02 +0200 Subject: Remove unnecessary $ItemTemplate variables --- admin/post/index.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'admin/post') diff --git a/admin/post/index.php b/admin/post/index.php index 79fbf92..8eedfbd 100644 --- a/admin/post/index.php +++ b/admin/post/index.php @@ -35,10 +35,7 @@ foreach($postIDs as $postID) { try { $Post = Post\Factory::build($postID); $User = User\Factory::build($Post->get('user')); - - $ItemTemplate = generatePostItemTemplate($Post, $User); - - $templates[] = $ItemTemplate; + $templates[] = generatePostItemTemplate($Post, $User); } catch(Post\Exception $Exception){} catch(User\Exception $Exception){} -- cgit v1.2.3