aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/home.php')
-rw-r--r--core/include/home.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/include/home.php b/core/include/home.php
index 0edd1f1..76c9287 100644
--- a/core/include/home.php
+++ b/core/include/home.php
@@ -14,10 +14,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){}