annotate .svn/pristine/6e/6ee18bb17d137e4f0b4784f2e268e5d69c2ef948.svn-base @ 929:5f33065ddc4b redmine-1.3

Update to Redmine SVN rev 9414 on 1.3-stable branch
author Chris Cannam
date Wed, 27 Jun 2012 14:54:18 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class IssueAddNote < ActiveRecord::Migration
Chris@909 2 # model removed
Chris@909 3 class Permission < ActiveRecord::Base; end
Chris@909 4
Chris@909 5 def self.up
Chris@909 6 Permission.create :controller => "issues", :action => "add_note", :description => "label_add_note", :sort => 1057, :mail_option => 1, :mail_enabled => 0
Chris@909 7 end
Chris@909 8
Chris@909 9 def self.down
Chris@909 10 Permission.find(:first, :conditions => ["controller=? and action=?", 'issues', 'add_note']).destroy
Chris@909 11 end
Chris@909 12 end