forked from science-ation/science-ation
- typo
This commit is contained in:
parent
aaac5b4806
commit
39c350c91f
@ -419,7 +419,7 @@ function user_delete($u, $type=false)
|
|||||||
call_user_func("user_delete_$type", $u);
|
call_user_func("user_delete_$type", $u);
|
||||||
} else {
|
} else {
|
||||||
/* Delete the whole user */
|
/* Delete the whole user */
|
||||||
if(is_array($u['types']) {
|
if(is_array($u['types'])) {
|
||||||
foreach($u['types'] as $t) call_user_func("user_delete_$t", $u);
|
foreach($u['types'] as $t) call_user_func("user_delete_$t", $u);
|
||||||
}
|
}
|
||||||
$finish_delete = true;
|
$finish_delete = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user