Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

deprecated the methods instead of removing them

  • Loading branch information...
commit aa6639d7447e36d3f51eafe2f9ec34b068f46604 1 parent 6bfcd6e
Kieran Pilkington authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 tasks/licenses.rake
View
12 tasks/licenses.rake
@@ -1,4 +1,14 @@
-namespace :acts_as_licensed do
+namespace :acts_as_licensed do
+
+ desc "DEPRECATED: Please use acts_as_licensed:import:nz_cc_licenses - Import New Zealand Creative Commons Licenses from plugin fixtures. "
+ task :import_nz_cc_licenses => :environment do
+ License.import_from_yaml('nz_default_creative_commons_licenses.yml')
+ end
+
+ desc "DEPRECATED: Please use acts_as_licensed:import:au_cc_licenses - Import Australian Creative Commons Licenses from plugin fixtures."
+ task :import_au_cc_licenses => :environment do
+ License.import_from_yaml('au_default_creative_commons_licenses.yml')
+ end
namespace :import do
Please sign in to comment.
Something went wrong with that request. Please try again.