From: Johan Cwiklinski Date: Sat, 20 Nov 2021 07:03:10 +0000 (+0100) Subject: Lower contribtiuon restrictions for direct download link X-Git-Tag: 0.9.6~41 X-Git-Url: https://git.agnieray.net/?a=commitdiff_plain;h=fd3527dcae79c46f2c39f8942d9134ce21c42dd5;p=galette.git Lower contribtiuon restrictions for direct download link --- diff --git a/galette/lib/Galette/Entity/Contribution.php b/galette/lib/Galette/Entity/Contribution.php index 50e763f0d..8ef9e20c3 100644 --- a/galette/lib/Galette/Entity/Contribution.php +++ b/galette/lib/Galette/Entity/Contribution.php @@ -291,14 +291,6 @@ class Contribution */ public function load($id) { - if (!$this->login->isLogged()) { - Analog::log( - 'Non-logged-in users cannot load contribution id `' . $id, - Analog::ERROR - ); - return false; - } - try { $select = $this->zdb->select(self::TABLE, 'c'); $select->join(