mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Use a NOW constant instead of new DateTimeImmutable objects, and tweak how some donation drive dates work
This commit is contained in:
parent
376dacd833
commit
eec79712fc
27 changed files with 108 additions and 143 deletions
|
@ -21,8 +21,7 @@ class Patron{
|
|||
// *******
|
||||
|
||||
public function Create(): void{
|
||||
/** @throws void */
|
||||
$this->Created = new DateTimeImmutable();
|
||||
$this->Created = NOW;
|
||||
Db::Query('
|
||||
INSERT into Patrons (Created, UserId, IsAnonymous, AlternateName, IsSubscribedToEmails)
|
||||
values(?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue