mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed 'Remove the unused function parameter' code smell.
This commit is contained in:
committed by
Akshay Joshi
parent
3b95a416ca
commit
d967d5046d
@@ -138,7 +138,7 @@ class SqlEditorModule(PgAdminModule):
|
||||
'sqleditor.connect_server',
|
||||
]
|
||||
|
||||
def on_logout(self, user):
|
||||
def on_logout(self):
|
||||
"""
|
||||
This is a callback function when user logout from pgAdmin
|
||||
:param user:
|
||||
|
||||
@@ -22,7 +22,6 @@ def apply_explain_plan_wrapper_if_needed(manager, sql):
|
||||
template_path = compile_template_name(
|
||||
'sqleditor/sql',
|
||||
'explain_plan.sql',
|
||||
server_type,
|
||||
ver
|
||||
)
|
||||
return render_template(template_path, sql=sql['sql'], **explain_plan)
|
||||
|
||||
Reference in New Issue
Block a user