diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-21 19:46:02 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-21 19:46:02 +0200 |
commit | 0b15a4d76b7b9934f70319fc2132b91865fe58d1 (patch) | |
tree | 2fa0f0137fe0ac4875ab816954fde5c54e2f631b /admin/page/index.php | |
parent | 86926ff735cdb7e635a19b01cccd0a94eb2b6d30 (diff) | |
download | blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.gz blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.xz blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.zip |
Remove unnecessary $ItemTemplate variables
Diffstat (limited to 'admin/page/index.php')
-rw-r--r-- | admin/page/index.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/page/index.php b/admin/page/index.php index 79be1b2..7527afa 100644 --- a/admin/page/index.php +++ b/admin/page/index.php @@ -35,10 +35,7 @@ foreach($pageIDs as $pageID) { try { $Page = Page\Factory::build($pageID); $User = User\Factory::build($Page->get('user')); - - $ItemTemplate = generatePageItemTemplate($Page, $User); - - $templates[] = $ItemTemplate; + $templates[] = generatePageItemTemplate($Page, $User); } catch(Page\Exception $Exception){} catch(User\Exception $Exception){} |