Commit 3b304029 by Nimisha Asthagiri Committed by GitHub

Merge pull request #13679 from edx/common_cleanup/remove_old_one_off_script

Move sync_user_info management command from common to LMS
parents 010f7eb5 8b0a26a4
##
## One-off script to sync all user information to the discussion service (later info will be synced automatically)
"""
One-off script to sync all user information to the
discussion service (later info will be synced automatically)
"""
from django.core.management.base import BaseCommand
from django.contrib.auth.models import User
......@@ -8,6 +9,9 @@ import lms.lib.comment_client as cc
class Command(BaseCommand):
"""
Management command for adding all users to the discussion service.
"""
help = 'Sync all user ids, usernames, and emails to the discussion service'
def handle(self, *args, **options):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment