mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Removing dynamic module loading and replacing it with static loading. Fixes #7492
Gets rid of all occurrences and usage of get_own_javascripts since it is no longer used.
This commit is contained in:
committed by
Akshay Joshi
parent
e46468321d
commit
cb635f6706
@@ -46,22 +46,6 @@ class UserManagementModule(PgAdminModule):
|
||||
|
||||
LABEL = _('Users')
|
||||
|
||||
def get_own_javascripts(self):
|
||||
""""
|
||||
Returns:
|
||||
list: js files used by this module
|
||||
"""
|
||||
return [{
|
||||
'name': 'pgadmin.tools.user_management',
|
||||
'path': url_for('user_management.index') + 'user_management',
|
||||
'when': None
|
||||
}, {
|
||||
'name': 'pgadmin.user_management.current_user',
|
||||
'path': url_for('user_management.index') + 'current_user',
|
||||
'when': None,
|
||||
'is_template': True
|
||||
}]
|
||||
|
||||
def show_system_objects(self):
|
||||
"""
|
||||
return system preference objects
|
||||
|
||||
Reference in New Issue
Block a user