correct errors

This commit is contained in:
Yoggzo 2016-03-09 15:39:43 +01:00
parent 5c6f6c97b7
commit aee0bda9d4

View file

@ -353,7 +353,7 @@ class image implements Core{
* @param string $file_name
* path of the image
**/
private function uploadImage($id, $file_name){
private function uploadImage(){
$id = $this->app->getPostParam("id");
$file_name = $this->app->getPostParam("file_name");
@ -389,7 +389,7 @@ class image implements Core{
* @param string $id
* identifier of the image
**/
private function downloadImage($id){
private function downloadImage(){
$id = $this->app->getPostParam("id");
if(!isset($id)){
$this->app->setOutput("Error", "Incorrect parameter");
@ -590,7 +590,7 @@ class image implements Core{
* @param string $status
* new status for the member
**/
private function updateMemberImage($image_id, $member_id, $status){
private function updateMemberImage(){
$image_id = $this->app->getPostParam("image_id");
$member_id = $this->app->getPostParam("member_id");
$status = $this->app->getPostParam("status");