2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_profiles.php: fixed result message of operation. And cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
eda131de78
commit
501f4d10a7
|
@ -1,3 +1,8 @@
|
|||
2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/massive/massive_delete_profiles.php: fixed result message of
|
||||
operation. And cleaned source code style.
|
||||
|
||||
2010-10-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/alerts/alert_list.php,
|
||||
|
|
|
@ -51,7 +51,8 @@ if($delete_profiles) {
|
|||
|
||||
if($profiles_id == -1 || $groups_id == -1 || $users_id == -1){
|
||||
$result = false;
|
||||
}else{
|
||||
}
|
||||
else {
|
||||
foreach($profiles_id as $profile) {
|
||||
foreach($groups_id as $group) {
|
||||
foreach($users_id as $id_up) {
|
||||
|
@ -60,7 +61,7 @@ if($delete_profiles) {
|
|||
pandora_audit("User management",
|
||||
"Deleted profile for user ".safe_input($user));
|
||||
|
||||
$return = delete_user_profile ($user, $id_up);
|
||||
$result = delete_user_profile ($user, $id_up);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue