mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
upgrade.php:
- change "edit_alias_state" to "edit_alias_active" in log table (was changed in r90) https://sourceforge.net/tracker/index.php?func=detail&aid=1830376&group_id=191583&atid=937964 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@231 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
fff08905e5
commit
3bbc918ca4
@ -333,6 +333,8 @@ function upgrade_90() {
|
||||
# old format: "create alias"
|
||||
# new format: "create_alias"
|
||||
$result = db_query_parsed("UPDATE " . table_by_key ('log') . " SET action = REPLACE(action,' ','_')", TRUE);
|
||||
# change edit_alias_state to edit_alias_active
|
||||
$result = db_query_parsed("UPDATE " . table_by_key ('log') . " SET action = 'edit_alias_state' WHERE action = 'edit_alias_active'", TRUE);
|
||||
}
|
||||
|
||||
function upgrade_169_mysql() { # MySQL only
|
||||
|
Loading…
Reference in New Issue
Block a user