Remove unused field intent_template_use_count. (#1283)
This commit is contained in:
Родитель
7d48a9015c
Коммит
d7e3213297
|
@ -974,8 +974,6 @@ class Feature(DictModel):
|
|||
updated_by = db.UserProperty(auto_current_user=True)
|
||||
created_by = db.UserProperty(auto_current_user_add=True)
|
||||
|
||||
intent_template_use_count = db.IntegerProperty(default = 0)
|
||||
|
||||
# General info.
|
||||
category = db.IntegerProperty(required=True)
|
||||
name = db.StringProperty(required=True)
|
||||
|
|
|
@ -496,9 +496,6 @@ class FeatureEditStage(basehandlers.FlaskHandler):
|
|||
if self.touched('ongoing_constraints'):
|
||||
feature.ongoing_constraints = self.form.get('ongoing_constraints')
|
||||
|
||||
if self.form.get('intent_to_implement') == 'on':
|
||||
feature.intent_template_use_count += 1
|
||||
|
||||
key = feature.put()
|
||||
|
||||
# TODO(jrobbins): enumerate and remove only the relevant keys.
|
||||
|
|
Загрузка…
Ссылка в новой задаче