Skip to content

Commit

Permalink
Remove unnecessary local:wrap_restore_db recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrupiano committed Apr 24, 2009
1 parent 8ac5aa8 commit ca8c538
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/capistrano-extensions/deploy.rb
Expand Up @@ -235,13 +235,7 @@ def #{env.to_s}(&block)
@current_timestamp = files.first.to_i # actually has the extension hanging off of it, but shouldn't be a problem
end
end

task :wrap_restore_db do
transaction do
restore_db
end
end


desc <<-DESC
[capistrano-extensions] Untars the backup file downloaded from local:backup_db (specified via the FROM env
variable, which defalts to RAILS_ENV), and imports (via mysql command line tool) it back into the database
Expand Down

0 comments on commit ca8c538

Please sign in to comment.