Fix pour la creation d'utilisateur
This commit is contained in:
parent
96c5278ee9
commit
9c9ad3cc68
|
@ -138,7 +138,7 @@ class m_action {
|
||||||
$query="insert into actions values ('','MOVE','$serialized',now(),'','','$user','');";
|
$query="insert into actions values ('','MOVE','$serialized',now(),'','','$user','');";
|
||||||
break;
|
break;
|
||||||
case 'fix_user':
|
case 'fix_user':
|
||||||
$query="insert into actions values ('','FIX_USER','$serialized',now(),'','','$user','');";
|
$query="insert into actions values ('','FIXUSER','$serialized',now(),'','','$user','');";
|
||||||
break;
|
break;
|
||||||
case 'fix_file':
|
case 'fix_file':
|
||||||
$query="insert into actions values ('','FIXFILE','$serialized',now(),'','','$user','');";
|
$query="insert into actions values ('','FIXFILE','$serialized',now(),'','','$user','');";
|
||||||
|
|
|
@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS `vm_history` (
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `actions` (
|
CREATE TABLE IF NOT EXISTS `actions` (
|
||||||
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
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,
|
parameters longtext default NULL,
|
||||||
creation timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
creation timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
begin timestamp,
|
begin timestamp,
|
||||||
|
|
Loading…
Reference in New Issue