mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
onboarding_steps: Rename 'copy_hotspots' function.
The function is used for any type of onboarding step i.e. not limited to Hotspot. This commit updates the function and variables name to reflect the above mentioned behaviour.
This commit is contained in:
committed by
Tim Abbott
parent
18579755a8
commit
e8769f80a6
@@ -6,7 +6,7 @@ import orjson
|
||||
from django.contrib.auth.models import UserManager
|
||||
from django.utils.timezone import now as timezone_now
|
||||
|
||||
from zerver.lib.hotspots import copy_hotspots
|
||||
from zerver.lib.hotspots import copy_onboarding_steps
|
||||
from zerver.lib.i18n import get_default_language_for_new_user
|
||||
from zerver.lib.timezone import canonicalize_timezone
|
||||
from zerver.lib.upload import copy_avatar
|
||||
@@ -64,7 +64,7 @@ def copy_default_settings(
|
||||
)
|
||||
copy_avatar(settings_source, target_profile)
|
||||
|
||||
copy_hotspots(settings_source, target_profile)
|
||||
copy_onboarding_steps(settings_source, target_profile)
|
||||
|
||||
|
||||
def get_display_email_address(user_profile: UserProfile) -> str:
|
||||
|
||||
Reference in New Issue
Block a user