mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
This commit is contained in:
@@ -111,7 +111,7 @@ define(function() {
|
||||
|
||||
function onUsersLoaded(users, emptyContainer) {
|
||||
templates.preload_template('users', function() {
|
||||
templates['useres'].parse({users:[]});
|
||||
templates['users'].parse({users:[]});
|
||||
var html = templates.prepare(templates['users'].blocks['users']).parse({
|
||||
users: users
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user