diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 51bdaf6a9..501fabc54 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -174,11 +174,7 @@ class SearchController < ApplicationController
feed_content_search
end
- render json: {
- result: result,
- display_jobs_banner: SiteConfig.display_jobs_banner,
- jobs_url: SiteConfig.jobs_url
- }
+ render json: { result: result }
end
def reactions
diff --git a/app/lib/constants/site_config.rb b/app/lib/constants/site_config.rb
index 3d80ea19f..a9ff8df5e 100644
--- a/app/lib/constants/site_config.rb
+++ b/app/lib/constants/site_config.rb
@@ -45,11 +45,6 @@ module Constants
default_font: {
description: "Determines the default Base Reading Font (registered users can change this in their UX settings)"
},
- display_jobs_banner: {
- description: "Display a jobs banner that points users to the jobs page when they type 'job'" \
- "or 'jobs' in the search box",
- placeholder: ""
- },
email_addresses: {
description: "Email address",
placeholder: ""
@@ -91,10 +86,6 @@ module Constants
description: "Minimum score needed for a post to show up on the unauthenticated home page.",
placeholder: "0"
},
- jobs_url: {
- description: "URL of the website where open positions are posted",
- placeholder: "Jobs URL"
- },
logo_png: {
description: "Used as a fallback to the SVG. Recommended minimum of 512x512px for PWA support",
placeholder: IMAGE_PLACEHOLDER
diff --git a/app/models/site_config.rb b/app/models/site_config.rb
index 5dba14b11..cfe34fcf3 100644
--- a/app/models/site_config.rb
+++ b/app/models/site_config.rb
@@ -76,10 +76,6 @@ class SiteConfig < RailsSettings::Base
# Email digest frequency
field :periodic_email_digest, type: :integer, default: 2
- # Jobs
- field :jobs_url, type: :string
- field :display_jobs_banner, type: :boolean, default: false
-
# Google Analytics Tracking ID, e.g. UA-71991000-1
field :ga_tracking_id, type: :string, default: ApplicationConfig["GA_TRACKING_ID"]
diff --git a/app/views/admin/configs/show.html.erb b/app/views/admin/configs/show.html.erb
index 055670896..b2c7d70d9 100644
--- a/app/views/admin/configs/show.html.erb
+++ b/app/views/admin/configs/show.html.erb
@@ -665,39 +665,6 @@
<% end %>
- <%= form_for(SiteConfig.new, url: admin_config_path) do |f| %>
-