From 9c9ad3cc68f98f04165706588a5383c0d33a5a6d Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 17 Oct 2013 09:07:56 +0000 Subject: [PATCH] Fix pour la creation d'utilisateur --- bureau/class/m_action.php | 2 +- install/upgrades/3.1.0~a.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,