config: remove unneeded config options.
This commit is contained in:
@@ -23,8 +23,9 @@
|
||||
|
||||
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
|
||||
|
||||
<% if CurrentUser.id == post.uploader_id && Danbooru.config.upload_feedback_topic.present? %>
|
||||
<p>If you don't understand why your uploads keep getting deleted, you should ask on the <%= link_to "forum", forum_topic_path(Danbooru.config.upload_feedback_topic) %> for advice.</p>
|
||||
<% if CurrentUser.id == post.uploader_id %>
|
||||
<p>If you don't understand why your upload was deleted, you can ask for
|
||||
advice in the Upload Feedback Thread on the forum.</p>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -53,10 +53,6 @@ module Danbooru
|
||||
"DanbooruBot"
|
||||
end
|
||||
|
||||
def upload_feedback_topic
|
||||
ForumTopic.where(title: "Upload Feedback Thread").first
|
||||
end
|
||||
|
||||
# The ID of the "Curated" pool. If present, this pool will be updated daily with curated posts.
|
||||
def curated_pool_id
|
||||
nil
|
||||
@@ -192,13 +188,6 @@ module Danbooru
|
||||
Socket.gethostname
|
||||
end
|
||||
|
||||
# Names of all Danbooru servers which serve out of the same common database.
|
||||
# Used in conjunction with load balancing to distribute files from one server to
|
||||
# the others. This should match whatever gethostname returns on the other servers.
|
||||
def all_server_hosts
|
||||
[server_host]
|
||||
end
|
||||
|
||||
# The method to use for storing image files.
|
||||
def storage_manager
|
||||
# Store files on the local filesystem.
|
||||
|
||||
Reference in New Issue
Block a user