mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	closes #6549
This commit is contained in:
		| @@ -50,9 +50,6 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) { | ||||
| 				ips: function (next) { | ||||
| 					user.getIPs(uid, 4, next); | ||||
| 				}, | ||||
| 				profile_links: function (next) { // DEPRECATED, do not use | ||||
| 					plugins.fireHook('filter:user.profileLinks', [], next); | ||||
| 				}, | ||||
| 				profile_menu: function (next) { | ||||
| 					plugins.fireHook('filter:user.profileMenu', { | ||||
| 						uid: uid, | ||||
| @@ -152,7 +149,7 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) { | ||||
| 			userData['reputation:disabled'] = parseInt(meta.config['reputation:disabled'], 10) === 1; | ||||
| 			userData['downvote:disabled'] = parseInt(meta.config['downvote:disabled'], 10) === 1; | ||||
| 			userData['email:confirmed'] = !!parseInt(userData['email:confirmed'], 10); | ||||
| 			userData.profile_links = filterLinks(results.profile_links.concat(results.profile_menu.links), { | ||||
| 			userData.profile_links = filterLinks(results.profile_menu.links, { | ||||
| 				self: isSelf, | ||||
| 				other: !isSelf, | ||||
| 				moderator: isModerator, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user