mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Don't set the Updated field in the Artists table
The DB does it automatically
This commit is contained in:
parent
60c6142688
commit
31d927ce2b
1 changed files with 1 additions and 4 deletions
|
@ -690,8 +690,6 @@ class Artwork extends PropertiesBase{
|
|||
|
||||
$this->Validate($uploadedFile);
|
||||
|
||||
$this->Updated = new DateTime();
|
||||
|
||||
$tags = [];
|
||||
foreach($this->Tags as $artworkTag){
|
||||
$tags[] = ArtworkTag::GetOrCreate($artworkTag);
|
||||
|
@ -709,7 +707,6 @@ class Artwork extends PropertiesBase{
|
|||
CompletedYear = ?,
|
||||
CompletedYearIsCirca = ?,
|
||||
Created = ?,
|
||||
Updated = ?,
|
||||
Status = ?,
|
||||
SubmitterUserId = ?,
|
||||
ReviewerUserId = ?,
|
||||
|
@ -726,7 +723,7 @@ class Artwork extends PropertiesBase{
|
|||
where
|
||||
ArtworkId = ?
|
||||
', [$this->Artist->ArtistId, $this->Name, $this->UrlName, $this->CompletedYear, $this->CompletedYearIsCirca,
|
||||
$this->Created, $this->Updated, $this->Status, $this->SubmitterUserId, $this->ReviewerUserId, $this->MuseumUrl, $this->PublicationYear, $this->PublicationYearPageUrl,
|
||||
$this->Created, $this->Status, $this->SubmitterUserId, $this->ReviewerUserId, $this->MuseumUrl, $this->PublicationYear, $this->PublicationYearPageUrl,
|
||||
$this->CopyrightPageUrl, $this->ArtworkPageUrl, $this->IsPublishedInUs, $this->EbookWwwFilesystemPath, $this->MimeType, $this->Exception, $this->Notes,
|
||||
$this->ArtworkId]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue