mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Missing migration
This commit is contained in:
parent
25c10166cf
commit
eb5dde7327
1 changed files with 21 additions and 0 deletions
21
src/migrations/0027_ssowat_regenconf.py
Normal file
21
src/migrations/0027_ssowat_regenconf.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
from moulinette.utils.log import getActionLogger
|
||||
|
||||
from yunohost.tools import Migration
|
||||
|
||||
logger = getActionLogger("yunohost.migration")
|
||||
|
||||
|
||||
class MyMigration(Migration):
|
||||
"""
|
||||
Regen SSOwat conf to add remote_user_var_in_nginx_conf properties
|
||||
"""
|
||||
|
||||
introduced_in_version = "11.1" # FIXME?
|
||||
dependencies = []
|
||||
|
||||
def run(self, *args):
|
||||
from yunohost.app import app_ssowatconf
|
||||
app_ssowatconf()
|
||||
|
||||
def run_after_system_restore(self):
|
||||
self.run()
|
Loading…
Add table
Reference in a new issue