Removed unused bad method.
This commit is contained in:
parent
556a8cb51d
commit
fbcdbdb9e8
1 changed files with 0 additions and 8 deletions
|
@ -244,14 +244,6 @@ const MamiSidebarPanelUsers = function() {
|
||||||
button.element.append(<i class="fas fa-users sidebar-gutter-font-icon"/>);
|
button.element.append(<i class="fas fa-users sidebar-gutter-font-icon"/>);
|
||||||
},
|
},
|
||||||
|
|
||||||
// this method is cope (used for KFE exclusive please don't use it elsewhere cuz it will get nuked)
|
|
||||||
getAllUserNames: () => {
|
|
||||||
const names = [];
|
|
||||||
for(const [id, entry] of entries)
|
|
||||||
names.push(entry.name);
|
|
||||||
return names;
|
|
||||||
},
|
|
||||||
|
|
||||||
createEntry: info => {
|
createEntry: info => {
|
||||||
if(entries.has(info.id))
|
if(entries.has(info.id))
|
||||||
throw 'this user has already been inserted';
|
throw 'this user has already been inserted';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue