public function delete($print_response = true) { $result = parent::delete($print_response); if ($result['success'] === true) { $this->folder->deletePicturesByName($this->Files); } return $result; }