Fixed issue #47
This commit is contained in:
parent
289b1fa1fa
commit
64b9725f50
@ -858,7 +858,9 @@ var $archivage= null;
|
||||
$NewRight=$GLOBALS["SYSTEM_MANAGER"]["RIGHT"]->saveInstance($NewRight);
|
||||
|
||||
// Suppression de la cache
|
||||
$GLOBALS["SYSTEM_MANAGER"]["PERMISSION_CACHE"]->EmptyCache();
|
||||
if( DATA_ACCES_CACHE_PERMISSION )
|
||||
$GLOBALS["SYSTEM_MANAGER"]["PERMISSION_CACHE"]->EmptyCache();
|
||||
|
||||
return "msgSave";
|
||||
}else{
|
||||
return "wrongArgument";
|
||||
@ -918,7 +920,9 @@ var $archivage= null;
|
||||
//Effacage
|
||||
$RightToDelete=$GLOBALS["SYSTEM_MANAGER"]["RIGHT"]->deleteInstance($RightToDelete);
|
||||
//Suppression de la cache
|
||||
$GLOBALS["SYSTEM_MANAGER"]["PERMISSION_CACHE"]->EmptyCache();
|
||||
if( DATA_ACCES_CACHE_PERMISSION )
|
||||
$GLOBALS["SYSTEM_MANAGER"]["PERMISSION_CACHE"]->EmptyCache();
|
||||
|
||||
return "msgDelete";
|
||||
}else{
|
||||
return "wrongArgument";
|
||||
|
Loading…
x
Reference in New Issue
Block a user