SF.net SVN: postfixadmin: [231] trunk/upgrade.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2007-11-15 20:55:05
|
Revision: 231 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=231&view=rev Author: christian_boltz Date: 2007-11-15 12:55:01 -0800 (Thu, 15 Nov 2007) Log Message: ----------- 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 Modified Paths: -------------- trunk/upgrade.php Modified: trunk/upgrade.php =================================================================== --- trunk/upgrade.php 2007-11-15 20:47:42 UTC (rev 230) +++ trunk/upgrade.php 2007-11-15 20:55:01 UTC (rev 231) @@ -333,6 +333,8 @@ # 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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |