Tool adapter for Moodle's wiki. That is just the base, without changes so after this when we syncronize you will see all the changes we made for that tool.
we use the variable 'saved' to let know the view's page that one file has been uploaded so it can be displayed the Next Activity button( in case is a Learner).
we use the variable 'save' to let the view's pageto know that there has been one file uploaded. We also noticed that in the database, in the table submissions they were not storing the number of files uploaded in the numfiles field, so we fix that so we could use that parameter in our outputs function.