Add form to delete placeholders

This commit is contained in:
Mike Colagrosso 2024-12-19 00:01:54 -07:00 committed by Alex Cabal
parent 18bcde3bf6
commit d0d79d637c
6 changed files with 79 additions and 1 deletions

View file

@ -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');