mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Add form to delete placeholders
This commit is contained in:
parent
18bcde3bf6
commit
d0d79d637c
6 changed files with 79 additions and 1 deletions
|
@ -455,6 +455,20 @@ final class Project{
|
|||
}
|
||||
}
|
||||
|
||||
public function Delete(): void{
|
||||
Db::Query('
|
||||
DELETE
|
||||
from ProjectReminders
|
||||
where ProjectId = ?
|
||||
', [$this->ProjectId]);
|
||||
|
||||
Db::Query('
|
||||
DELETE
|
||||
from Projects
|
||||
where ProjectId = ?
|
||||
', [$this->ProjectId]);
|
||||
}
|
||||
|
||||
public function FillFromHttpPost(): void{
|
||||
$this->PropertyFromHttp('EbookId');
|
||||
$this->PropertyFromHttp('ProducerName');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue