mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Replace Template::Emit...() functions with more generic function
This commit is contained in:
parent
f449c024ea
commit
806939ca49
40 changed files with 86 additions and 68 deletions
|
@ -41,9 +41,7 @@ try{
|
|||
$ebook->CreateOrUpdate();
|
||||
|
||||
// If there was an `EbookPlaceholder` for this ebook, delete it.
|
||||
if($ebook->EbookPlaceholder !== null){
|
||||
$ebook->EbookPlaceholder->Delete();
|
||||
}
|
||||
$ebook->EbookPlaceholder?->Delete();
|
||||
|
||||
// If there was a `Project` for this ebook, mark it as completed.
|
||||
if($ebook->ProjectInProgress !== null){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue