Skip to content

Commit

Permalink
allow pass zone ownership to other user when existing owner is under …
Browse files Browse the repository at this point in the history
…removal
  • Loading branch information
Edmondas Girkantas committed Aug 10, 2011
1 parent 120a76c commit e8fcb1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions delete_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
if (isset($_POST['commit'])) {

if (is_valid_user($uid)) {
// TODO: pass all users's zones to delete_user() function
$zones = array();
$zones = $_POST['zone'];
if (delete_user($uid, $zones)) {
success(SUC_USER_DEL);
}
Expand Down

0 comments on commit e8fcb1e

Please sign in to comment.