New function to delete items for users
This commit is contained in:
parent
deb015be12
commit
8329705eba
11 changed files with 53 additions and 55 deletions
|
@ -169,7 +169,7 @@ function videos_post(App $a) {
|
|||
);
|
||||
|
||||
if (DBM::is_result($i)) {
|
||||
Item::deleteById($i[0]['id'], PRIORITY_HIGH, local_user());
|
||||
Item::deleteForUser(['id' => $i[0]['id']], local_user());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue