X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fdata%2Fupgrades%2Fxml%2Fmtweb_xml_version_0_11_2.php;h=456e039257c71da13e38fbb7c0b6336b11766674;hb=e038560c5eed39411ef5a761fe32ad8de69982bb;hp=1de687fac3e76167b7000fb05908d225965d6667;hpb=eab532f688be180bd118cd9d8233a3feda2583a7;p=mtweb diff --git a/mw/app/data/upgrades/xml/mtweb_xml_version_0_11_2.php b/mw/app/data/upgrades/xml/mtweb_xml_version_0_11_2.php index 1de687f..456e039 100644 --- a/mw/app/data/upgrades/xml/mtweb_xml_version_0_11_2.php +++ b/mw/app/data/upgrades/xml/mtweb_xml_version_0_11_2.php @@ -57,6 +57,17 @@ } } } + if( + !$sgbd->add_data( + "actions_roles", + array( + "action" => "config", + "id_role" => 3 + ) + ) + ){ + return "impossible d'ajouter la protection d'accès webmaster dans actions_roles"; + } if(!$sgbd->remove_data("action_status")){ return "impossible de supprimer la table action_status, dans ".get_class($this); }