diff --git a/bureau/class/m_action.php b/bureau/class/m_action.php index 6b29fdd9..e90ccacb 100644 --- a/bureau/class/m_action.php +++ b/bureau/class/m_action.php @@ -138,7 +138,7 @@ class m_action { $query="insert into actions values ('','MOVE','$serialized',now(),'','','$user','');"; break; case 'fix_user': - $query="insert into actions values ('','FIX_USER','$serialized',now(),'','','$user','');"; + $query="insert into actions values ('','FIXUSER','$serialized',now(),'','','$user','');"; break; case 'fix_file': $query="insert into actions values ('','FIXFILE','$serialized',now(),'','','$user','');"; diff --git a/install/upgrades/3.1.0~a.sql b/install/upgrades/3.1.0~a.sql index 936da6ea..79d9b847 100644 --- a/install/upgrades/3.1.0~a.sql +++ b/install/upgrades/3.1.0~a.sql @@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS `vm_history` ( CREATE TABLE IF NOT EXISTS `actions` ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, - type enum ('CREATE_FILE','CREATE_DIR','DELETE','MOVE','FIXDIR','FIXFILE'), + type enum ('CREATE_FILE','CREATE_DIR','DELETE','MOVE','FIXDIR','FIXFILE', 'FIXUSER'), parameters longtext default NULL, creation timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, begin timestamp,