Fixed 'Remove the unused function parameter' code smell.

This commit is contained in:
Nikhil Mohite
2022-09-09 18:36:51 +05:30
committed by Akshay Joshi
parent 3b95a416ca
commit d967d5046d
30 changed files with 57 additions and 131 deletions

View File

@@ -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:

View File

@@ -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)