mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-15362 - send sha1 of entire zipfile to mahara, not just contents
This commit is contained in:
parent
f1ebc1926e
commit
1c59721175
1 changed files with 4 additions and 1 deletions
|
@ -154,7 +154,10 @@ class portfolio_plugin_mahara extends portfolio_plugin_pull_base {
|
|||
$client->add_param($this->token);
|
||||
$client->add_param($this->get('user')->username);
|
||||
$client->add_param($this->resolve_format());
|
||||
$client->add_param(array('filesmanifest' => $this->filesmanifest));
|
||||
$client->add_param(array(
|
||||
'filesmanifest' => $this->filesmanifest,
|
||||
'zipfilesha1' => $this->get('file')->get_contenthash()
|
||||
));
|
||||
$client->add_param($this->get_export_config('wait'));
|
||||
$this->ensure_mnethost();
|
||||
if (!$client->send($this->mnethost)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue