Skip to content

Commit

Permalink
MDL-15362 - send sha1 of entire zipfile to mahara, not just contents
Browse files Browse the repository at this point in the history
mjollnir_ committed Sep 1, 2008
1 parent f1ebc19 commit 1c59721
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion portfolio/type/mahara/lib.php
Original file line number Diff line number Diff line change
@@ -154,7 +154,10 @@ public function send_package() {
$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)) {

0 comments on commit 1c59721

Please sign in to comment.