chore: removed unnecessary custom fields

This commit is contained in:
Jannat Patel
2024-09-24 10:59:27 +05:30
parent 6fb206cc4e
commit 75e9ca395f
2 changed files with 1 additions and 1916 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -722,17 +722,6 @@ def get_lesson_count(course):
return lesson_count
def get_restriction_details():
user = frappe.db.get_value(
"User", frappe.session.user, ["profile_complete", "username"], as_dict=True
)
return {
"restrict": not user.profile_complete,
"username": user.username,
"prefix": frappe.get_hooks("profile_url_prefix")[0] or "/users/",
}
def get_all_memberships(member):
return frappe.get_all(
"LMS Enrollment",