Overview
SHA1:5292e619e1d234c727036fc2d9d79a0ae91f65a1
Date: 2017-10-18 01:57:40
User: bohwaz
Comment:Appel à une méthode qui n'existe plus
Timelines: family | ancestors | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-10-18
04:48
[fa250b1e2a] Merge de la branche de dév sur trunk, la 0.8 est la nouvelle version stable (user: bohwaz, tags: trunk, stable, 0.8.0)
01:57
[5292e619e1] Closed-Leaf: Appel à une méthode qui n'existe plus (user: bohwaz, tags: dev)
01:20
[e0c5cd4545] Suppression console.log qui traînait (user: bohwaz, tags: dev)
Changes

Modified src/include/lib/Garradin/Rappels.php from [15cdccc907] to [cb8851d857].

190
191
192
193
194
195
196
197
198
199
200
201

202
203
204
205
206
207
208
209
			AND id NOT IN (SELECT id_membre FROM rappels_envoyes AS re 
				WHERE id_cotisation = re.id_cotisation 
				AND re.date >= date(expiration, delai || \' days\')
			)
		ORDER BY nb_jours DESC;';

		$db->begin();
		$st = $db->prepare($query);
		$res = $st->execute();
		$re = new Rappels_Envoyes;

		while ($row = $db->fetch($res))

		{
			$re->sendAuto($row);
		}

		$db->commit();
		return true;
	}
}







<
<


<
>








190
191
192
193
194
195
196


197
198

199
200
201
202
203
204
205
206
207
			AND id NOT IN (SELECT id_membre FROM rappels_envoyes AS re 
				WHERE id_cotisation = re.id_cotisation 
				AND re.date >= date(expiration, delai || \' days\')
			)
		ORDER BY nb_jours DESC;';

		$db->begin();


		$re = new Rappels_Envoyes;


		foreach ($db->iterate($query) as $row)
		{
			$re->sendAuto($row);
		}

		$db->commit();
		return true;
	}
}