fixing #1587 properly for profile views

This commit is contained in:
psychobunny
2014-05-28 18:15:53 -04:00
parent 74097be2e4
commit 0334a487b5
3 changed files with 13 additions and 4 deletions

View File

@@ -159,10 +159,6 @@ accountsController.getAccount = function(req, res, next) {
userData.profileviews = 1;
}
if (callerUID !== parseInt(userData.uid, 10) && callerUID && !req.query.prefetched) {
user.incrementUserFieldBy(userData.uid, 'profileviews', 1);
}
postTools.parse(userData.signature, function (err, signature) {
userData.signature = signature;