Skip to content

Node.js based forum software built for the modern web

remove my stupid code

Baris Usaklic37be3b58f63
diff --git a/src/controllers/accounts/helpers.js b/src/controllers/accounts/helpers.js
index 0a99d83af1..64170ce39d 100644
--- a/src/controllers/accounts/helpers.js
+++ b/src/controllers/accounts/helpers.js
@@ -106,7 +106,6 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) {
userData.moderationNote = undefined;
}
- userData.uid = userData.uid;
userData.yourid = callerUID;
userData.theirid = userData.uid;
userData.isTargetAdmin = results.isTargetAdmin;