1
1
Fork 0

Remove resourceid parameter from Photo::exists()

This commit is contained in:
fabrixxm 2018-12-12 08:12:34 +01:00 committed by Hypolite Petovan
commit 55292c954b
3 changed files with 6 additions and 14 deletions

View file

@ -459,9 +459,9 @@ function item_post(App $a) {
$condition = [
'allow_cid' => $srch, 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '',
'uid' => $profile_uid
'resource-id' => $image_uri, 'uid' => $profile_uid
];
if (!Photo::exists($image_uri, $condition)) {
if (!Photo::exists($condition)) {
continue;
}