Somehow ran out of unique identifiers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3759 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b88b15183b
commit
e5ac73b7dc
|
@ -12,7 +12,7 @@ class Project < ActiveRecord::Base
|
||||||
|
|
||||||
# Project#next_identifier is defined on Redmine
|
# Project#next_identifier is defined on Redmine
|
||||||
def self.next_identifier_from_object_daddy
|
def self.next_identifier_from_object_daddy
|
||||||
@last_identifier ||= 'project0'
|
@last_identifier ||= 'project-0000'
|
||||||
@last_identifier.succ!
|
@last_identifier.succ!
|
||||||
@last_identifier
|
@last_identifier
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue