Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Oct 1, 2024
1 parent c694688 commit 0ab0a91
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/pgadmin/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ def pgOp(method):
return 'ok'
return data[1]

if method == 'stop' or method == 'restart':
mw.execShell(file + ' ' + 'stop')

data = mw.execShell('systemctl ' + method+ '' + getPluginName())
if data[1] == '':
return 'ok'
Expand Down

0 comments on commit 0ab0a91

Please sign in to comment.