Commit 64e44b3a by stu

add some functions

parent 0344eff2
......@@ -101,3 +101,7 @@ def learner_profile_context(request, profile_username, user_is_staff):
context['data']['badges_api_url'] = reverse("badges_api:user_assertions", kwargs={'username': profile_username})
return context
def another_abandoned_function():
message = "I am all alone"
return
......@@ -63,3 +63,7 @@ class LmsSearchResultProcessor(SearchResultProcessor):
if has_access(user, 'staff', self.get_course_key()):
return False
return self.get_usage_key() not in self.get_course_blocks(user).get_block_keys()
def abandoned_function(self):
message = "No one will ever find me here"
return
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