From b0111274ad7c0ee0105a2a988f9c957f4b121a6f Mon Sep 17 00:00:00 2001
From: Baris Soner Usakli <barisusakli@gmail.com>
Date: Mon, 17 Jun 2013 15:48:12 -0400
Subject: [PATCH] removed friends.js

---
 public/src/forum/friends.js | 44 -------------------------------------
 1 file changed, 44 deletions(-)
 delete mode 100644 public/src/forum/friends.js

diff --git a/public/src/forum/friends.js b/public/src/forum/friends.js
deleted file mode 100644
index 7a34e83815..0000000000
--- a/public/src/forum/friends.js
+++ /dev/null
@@ -1,44 +0,0 @@
-(function() {
-
-	var yourid = templates.get('yourid'),
-		theirid = templates.get('theirid'),
-		friendCount = templates.get('friendCount');
-
-    $(document).ready(function() {
-    	
-    	if(parseInt(friendCount, 10) === 0) {
-    		$('#no-friend-notice').show();
-    	}
-    	var editLink = $('#editLink');
-
-		if(yourid !== theirid) {
-			editLink.hide();
-			$('.remove-friend-btn').hide();
-		}
-		else {
-			$('.remove-friend-btn').on('click',function(){
-
-				var removeBtn = $(this);
-				var friendid = $(this).attr('friendid');
-				
-				$.post('/users/removefriend', {uid: friendid},
-	            	function(data) {
-	            		removeBtn.parent().remove();
-					}                
-				);
-				return false;
-			});
-		}
-
-        $('.reputation').each(function(index, element) {
-        	$(element).html(app.addCommas($(element).html()));
-        });
-        
-        $('.postcount').each(function(index, element) {
-        	$(element).html(app.addCommas($(element).html()));
-        });
-        
-    });
-    
-
-}());
\ No newline at end of file