Blake Erickson
d26aa6e71e
REFACTOR: Cleanup rake tasks based on feedback
...
Follow up to: [FEATURE: Create a rake task for destroying categories][1]
- `Discourse.system_user` is my friend
- Remove puts statements from rake tasks that don't return anything
- `for_each` is also my friend
- Use `human_users` to also exclude discobot
- Sort/format categories:list
[1]: 092eeb5ca3
2019-07-18 19:15:01 -06:00
..
2019-07-12 12:04:23 +02:00
2019-05-29 14:26:24 +10:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-18 19:15:01 -06:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-06 15:44:55 -04:00
2019-07-17 15:54:42 +05:30
2019-05-13 09:31:32 +08:00
2019-05-16 13:48:46 +08:00
2019-06-27 18:20:43 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-04 16:21:03 +10:00
2019-05-28 16:20:18 +10:00
2019-07-03 18:18:11 +10:00
2019-07-04 14:33:05 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-31 15:44:35 +10:00
2019-05-13 22:20:27 +05:30
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-24 17:17:56 -07:00