aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/search
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-21 19:46:02 +0200
committerThomas Lange <code@nerdmind.de>2021-06-21 19:46:02 +0200
commit0b15a4d76b7b9934f70319fc2132b91865fe58d1 (patch)
tree2fa0f0137fe0ac4875ab816954fde5c54e2f631b /core/include/search
parent86926ff735cdb7e635a19b01cccd0a94eb2b6d30 (diff)
downloadblog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.gz
blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.xz
blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.zip
Remove unnecessary $ItemTemplate variables
Diffstat (limited to 'core/include/search')
-rw-r--r--core/include/search/main.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/include/search/main.php b/core/include/search/main.php
index c15be17..6bc6bdc 100644
--- a/core/include/search/main.php
+++ b/core/include/search/main.php
@@ -41,7 +41,6 @@ if(isset($postIDs) AND !empty($postIDs)) {
try {
$Post = Post\Factory::build($postID);
$User = User\Factory::build($Post->get('user'));
-
$templates[] = generatePostItemTemplate($Post, $User);
}
catch(Post\Exception $Exception){}