projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enables group filling from its MLs and aliases (Closes #1473).
[platal.git]
/
classes
/
user.php
diff --git
a/classes/user.php
b/classes/user.php
index
801fe39
..
ab554bc
100644
(file)
--- a/
classes/user.php
+++ b/
classes/user.php
@@
-300,6
+300,11
@@
class User extends PlUser
return $this->profile()->directory_name;
}
return $this->profile()->directory_name;
}
+ static public function compareDirectoryName($a, $b)
+ {
+ return strcasecmp(replace_accent($a->directoryName()), replace_accent($b->directoryName()));
+ }
+
/** Return the main profile attached with this account if any.
*/
public function profile($forceFetch = false, $fields = 0x0000, $visibility = null)
/** Return the main profile attached with this account if any.
*/
public function profile($forceFetch = false, $fields = 0x0000, $visibility = null)