aboutsummaryrefslogtreecommitdiff
path: root/lib/models/FileRef.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/FileRef.php')
-rw-r--r--lib/models/FileRef.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/FileRef.php b/lib/models/FileRef.php
index aba20ee..eeedf26 100644
--- a/lib/models/FileRef.php
+++ b/lib/models/FileRef.php
@@ -223,7 +223,7 @@ class FileRef extends SimpleORMap implements PrivacyObject, FeedbackRange
*/
public function incrementDownloadCounter()
{
- if (!$this->folder->getTypedFolder()->countDownloads($this, false)) {
+ if (!$this->folder->getTypedFolder()->countDownloads($this)) {
return 0;
}