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 /core/include/user/list.php | |
parent | 86926ff735cdb7e635a19b01cccd0a94eb2b6d30 (diff) | |
download | blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.gz blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.tar.xz blog-0b15a4d76b7b9934f70319fc2132b91865fe58d1.zip |
Remove unnecessary $ItemTemplate variables
Diffstat (limited to 'core/include/user/list.php')
-rw-r--r-- | core/include/user/list.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/include/user/list.php b/core/include/user/list.php index c977077..b64eee5 100644 --- a/core/include/user/list.php +++ b/core/include/user/list.php @@ -36,9 +36,7 @@ $userIDs = $Database->query(sprintf($execSQL, User\Attribute::TABLE))->fetchAll( foreach($userIDs as $userID) { try { $User = User\Factory::build($userID); - $ItemTemplate = generateUserItemTemplate($User); - - $templates[] = $ItemTemplate; + $templates[] = generateUserItemTemplate($User); } catch(User\Exception $Exception){} } |