Overview
Comment:Appel à une méthode qui n'existe plus
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 5292e619e1d234c727036fc2d9d79a0ae91f65a1
User & Date: bohwaz on 2017-10-18 01:57:40
Other Links: branch diff | manifest | tags
Context
2017-10-18
04:48
Merge de la branche de dév sur trunk, la 0.8 est la nouvelle version stable check-in: fa250b1e2a user: bohwaz tags: trunk, stable, 0.8.0
01:57
Appel à une méthode qui n'existe plus Closed-Leaf check-in: 5292e619e1 user: bohwaz tags: dev
01:20
Suppression console.log qui traînait check-in: e0c5cd4545 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;
	}
}