projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maj version dans config.xml
[mtweb]
/
mw
/
app
/
data
/
upgrades
/
xml
/
mtweb_xml_version_0_11_2.php
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
..
fb84365
100644
(file)
--- 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
@@
-2,11
+2,11
@@
class mtweb_xml_version_0_11_2 extends mw_data_version{
class mtweb_xml_version_0_11_2 extends mw_data_version{
- function version(){
+
public
function version(){
return "0.11.2";
}
return "0.11.2";
}
- function do_upgrade(){
+
public
function do_upgrade(){
$env = $this->env();
$data = $env->data();
$env = $this->env();
$data = $env->data();
@@
-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);
}
if(!$sgbd->remove_data("action_status")){
return "impossible de supprimer la table action_status, dans ".get_class($this);
}