Always show the "Ban user" action link in th UserBrowsePane
git-svn-id: https://svn.libreccm.org/ccm/trunk@3769 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
948c7cb983
commit
a5fd5899dc
|
|
@ -436,10 +436,9 @@ class UserBrowsePane extends SegmentedPanel
|
|||
if (!super.isVisible(s)) {
|
||||
return false;
|
||||
}
|
||||
// We show the ban link if the user is not already banned and has never published
|
||||
// an item
|
||||
// We show the ban link if the user is not already banned
|
||||
User u = getUser(s);
|
||||
return ((!u.isBanned()) && (hasUserPublishedItems(u)));
|
||||
return ((!u.isBanned()));
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue