X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fdeletegroup.php;h=87f518eb41ca22b702cae9db8b5479bd32012785;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=c64bc1d8e90fd47fb91cfd4d0cd4743b358f8ad0;hpb=6b48db2539764424dbff7ff5ce69bee4f7609e25;p=quix0rs-gnu-social.git diff --git a/actions/deletegroup.php b/actions/deletegroup.php index c64bc1d8e9..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') {