This commit is contained in:
EoleDev 2016-03-09 15:36:36 +01:00
commit 08ea5ef31a

View file

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