Skip to content

Commit 6ceb9a3

Browse files
Remove Housing Points from Spring Evals Review
As per ComputerScienceHouse/Constitution#66
1 parent 41eaa3f commit 6ceb9a3

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

conditional/blueprints/slideshow.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def slideshow_spring_review():
127127
post_data = request.get_json()
128128
uid = post_data['uid']
129129
status = post_data['status']
130-
# points = post_data['points']
130+
131131
logger.info("backend", action="submit spring eval for %s status: %s" % (uid, status))
132132

133133
SpringEval.query.filter(
@@ -138,18 +138,6 @@ def slideshow_spring_review():
138138
'status': status
139139
})
140140

141-
# points are handeled automagically through constitutional override
142-
# HousingEvalsSubmission.query.filter(
143-
# HousingEvalsSubmission.uid == uid and
144-
# HousingEvalsSubmission.active).\
145-
# update(
146-
# {
147-
# 'points': points
148-
# })
149-
150-
# current_points = ldap_get_housing_points(uid)
151-
# ldap_set_housingpoints(uid, current_points + points)
152-
153141
db.session.flush()
154142
db.session.commit()
155143
return jsonify({"success": True}), 200

0 commit comments

Comments
 (0)