X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fdeleteuser.php;h=fd0beb80acd0b8b9b6d00e7bd64ea3d1bd5d846a;hb=bc1f9eb3a551bcd0ab74911791087380a16d40e0;hp=48ad9272e04b8a10f30caef25edadda02fdb6385;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/actions/deleteuser.php b/actions/deleteuser.php index 48ad9272e0..fd0beb80ac 100644 --- a/actions/deleteuser.php +++ b/actions/deleteuser.php @@ -51,7 +51,7 @@ class DeleteuserAction extends ProfileFormAction * * @return boolean success flag */ - function prepare($args) + function prepare(array $args=array()) { if (!parent::prepare($args)) { return false; @@ -85,7 +85,7 @@ class DeleteuserAction extends ProfileFormAction * * @return void */ - function handle($args) + function handle(array $args=array()) { if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($this->arg('no')) { @@ -101,6 +101,8 @@ class DeleteuserAction extends ProfileFormAction function showContent() { $this->areYouSureForm(); + $block = new AccountProfileBlock($this, $this->profile); + $block->show(); } function title() {