diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 89eb83644f24e937baaddbacc0c4d20f27495038..34e7e7e293adb08e779715ced17a1584a6e1e955 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -366,18 +366,6 @@ class UsersController < ApplicationController
     end
   end
 
-  # Ensure that a "naked" URL like example.com gets a protocol.
-  def ensure_protocol(uri)
-    # URI::Generic indicates the user didn't include a protocol
-    if URI.parse(uri).instance_of?(URI::Generic)
-      "https://#{uri}"
-    else
-      uri
-    end
-  rescue URI::InvalidURIError
-    nil
-  end
-
   def update_profile
     profile_params = params.require(:user).permit(:username,
                                                   :profile_markdown,