Added the new parameter to the delete function.
This commit is contained in:
parent
708ddf2b02
commit
54136f3a74
6 changed files with 10 additions and 10 deletions
|
@ -289,7 +289,7 @@ function photos_post(App $a)
|
|||
);
|
||||
if (DBM::is_result($r)) {
|
||||
foreach ($r as $rr) {
|
||||
Item::deleteById($rr['id']);
|
||||
Item::deleteById($rr['id'], PRIORITY_HIGH, $page_owner_uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -349,7 +349,7 @@ function photos_post(App $a)
|
|||
intval($page_owner_uid)
|
||||
);
|
||||
if (DBM::is_result($i)) {
|
||||
Item::deleteById($i[0]['id']);
|
||||
Item::deleteById($i[0]['id'], PRIORITY_HIGH, $page_owner_uid);
|
||||
|
||||
// Update the photo albums cache
|
||||
Photo::clearAlbumCache($page_owner_uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue