upgrade 0.11.2 pour XML, MySql et SQLite
[mtweb] / mw / app / data / upgrades / xml / mtweb_xml_version_0_11_2.php
index 1de687f..456e039 100644 (file)
             }
           }
         }
+        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);
         }