X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fdeletegroup.php;h=87f518eb41ca22b702cae9db8b5479bd32012785;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=6d9d66d30e1f61ec86c8397373a63106b24414ab;hpb=c00491cd7a29a9ef16d6e6bfa54505d4c9a522fe;p=quix0rs-gnu-social.git diff --git a/actions/deletegroup.php b/actions/deletegroup.php index 6d9d66d30e..87f518eb41 100644 --- a/actions/deletegroup.php +++ b/actions/deletegroup.php @@ -55,7 +55,7 @@ class DeletegroupAction extends RedirectingAction * @fixme merge common setup code with other group actions * @fixme allow group admins to delete their own groups */ - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); @@ -114,7 +114,7 @@ class DeletegroupAction extends RedirectingAction * * @return void */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); if ($_SERVER['REQUEST_METHOD'] == 'POST') { @@ -171,6 +171,8 @@ class DeletegroupAction extends RedirectingAction function showContent() { $this->areYouSureForm(); + $block = new GroupProfileBlock($this, $this->group); + $block->show(); } /**