mirror of
https://codeberg.org/vlw/wp.git
synced 2026-02-26 03:51:58 +01:00
fix: proper table reference for PostMeta (#7)
Reviewed-on: https://codeberg.org/vlw/wp/pulls/7
This commit is contained in:
parent
a70015e314
commit
28f31250fa
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@
|
||||||
*/
|
*/
|
||||||
public function delete(): void {
|
public function delete(): void {
|
||||||
$this->db
|
$this->db
|
||||||
->from(PostMetaTable::TABLE_NAME)
|
->from(Database::get_table(PostMetaTable::TABLE_NAME))
|
||||||
->delete([PostMetaTable::META_ID->value => $this->id]);
|
->delete([PostMetaTable::META_ID->value => $this->id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue