diff --git a/aleksis/core/util/core_helpers.py b/aleksis/core/util/core_helpers.py index b1f93298f39daa775e4450fc0c5192290a407467..13558233068626c8f288b70624b2646840826819 100644 --- a/aleksis/core/util/core_helpers.py +++ b/aleksis/core/util/core_helpers.py @@ -168,26 +168,6 @@ def custom_information_processor(request: HttpRequest) -> dict: } -def get_app_licence_information() -> List[dict]: - """ Get a list of the attribute LICENCE_INFORMATION from every app and the core """ - - licence_information = [] - - packages = list(get_app_packages()) - packages.insert(0, "aleksis.core") - - for app in packages: - app_mod = import_module(app) - try: - app_licence_information = app_mod.LICENCE_INFORMATION - app_licence_information["copyright_holders"].sort(key=lambda x: x[1].split(" ")[-1]) - licence_information.append(app_licence_information) - except AttributeError: - pass - - return licence_information - - def now_tomorrow() -> datetime: """ Return current time tomorrow """ return timezone.now() + timedelta(days=1)