git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
login/list: retrieve optional user data on demand
[minimedit.git]
/
login
/
list.php
diff --git
a/login/list.php
b/login/list.php
index 86e8daf5490788316af492873f093bafd5472bf5..eee2dc57a59197bc735250a7949ea7848d1d88a7 100644
(file)
--- a/
login/list.php
+++ b/
login/list.php
@@
-5,9
+5,7
@@
$users = glob("$basepath/*/");
if (!$users) return;
foreach ($users as $col => $userdir) {
- $user = new User($userdir);
- $user->name = @file_get_contents("{$user->dir}/name.txt");
- $users[$col] = $user;
+ $users[$col] = new User($userdir);
}
print '<ul class="gallery cat">';