add check if google apis are enabled
This commit is contained in:
@@ -1383,7 +1383,7 @@ class Post < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def notify_pubsub
|
def notify_pubsub
|
||||||
#return unless Danbooru.config.google_api_project
|
return unless Danbooru.config.google_api_project
|
||||||
|
|
||||||
PostUpdate.insert(id)
|
PostUpdate.insert(id)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user