mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "Support for Embeddable Comments via IFRAME" - it depends on Curl
which not every server has. Have to rethink this.
This reverts commit e3e4c62887.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class MigrateWordCounts < ActiveRecord::Migration
|
||||
disable_ddl_transaction!
|
||||
|
||||
|
||||
def up
|
||||
post_ids = execute("SELECT id FROM posts WHERE word_count IS NULL LIMIT 500").map {|r| r['id'].to_i }
|
||||
while post_ids.length > 0
|
||||
@@ -30,4 +30,4 @@ class MigrateWordCounts < ActiveRecord::Migration
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user