Remove resourceid parameter from Photo::exists()
This commit is contained in:
parent
e7fbe04b11
commit
55292c954b
3 changed files with 6 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue