mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Forgotten auth in app_remove
This commit is contained in:
parent
0ee22b9301
commit
d7bc60bcbc
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
@ -488,7 +488,7 @@ def app_install(auth, app, label=None, args=None):
|
||||||
raise MoulinetteError(errno.EINTR, m18n.g('operation_interrupted'))
|
raise MoulinetteError(errno.EINTR, m18n.g('operation_interrupted'))
|
||||||
|
|
||||||
|
|
||||||
def app_remove(app):
|
def app_remove(auth, app):
|
||||||
"""
|
"""
|
||||||
Remove app
|
Remove app
|
||||||
|
|
||||||
|
@ -518,7 +518,7 @@ def app_remove(app):
|
||||||
if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path)
|
if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path)
|
||||||
shutil.rmtree('/tmp/yunohost_remove')
|
shutil.rmtree('/tmp/yunohost_remove')
|
||||||
hook_remove(app)
|
hook_remove(app)
|
||||||
app_ssowatconf()
|
app_ssowatconf(auth)
|
||||||
msignals.display(m18n.n('app_removed') % app, 'success')
|
msignals.display(m18n.n('app_removed') % app, 'success')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue