Files
danbooru/app/models/janitor_trial.rb
Kevin Xiwei Zheng 5082c9ef8c Fix creation of user records after janitor trials
Previously, a negative "demoted from janitor trial" record would
always be created after a janitor trial ended, regardless of whether
or not the user in question was actually demoted or not.  This commit
removes the culprit, an overly aggressive after_destroy callback, and
instead directly invokes user record creation in the "demote!" method.
2013-07-01 21:31:01 -04:00

2.1 KiB