disable pubsub

This commit is contained in:
r888888888
2016-08-13 10:35:38 -07:00
parent a55aa73b25
commit 28aa7f30d5

View File

@@ -1383,6 +1383,7 @@ class Post < ActiveRecord::Base
end
def notify_pubsub
return
return unless Danbooru.config.google_api_project
pubsub = Google::Apis::PubsubV1::PubsubService.new