Added a download counter.

Because we like stats, even if not really reliable :)
This commit is contained in:
Loic d'Anterroches
2008-08-05 15:44:27 +02:00
parent 366b73d27e
commit 5e3b2bac28
5 changed files with 34 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ class IDF_Form_UpdateUpload extends Pluf_Form
}
// Create the upload
$this->upload->summary = trim($this->cleaned_data['summary']);
$this->upload->modif_dtime = gmdate('Y-m-d H:i:s');
$this->upload->update();
$this->upload->batchAssoc('IDF_Tag', $tags);
return $this->upload;