Browse Source

Merge pull request #6028 from annando/issue-5913

Issue 5913: Fix fatal error in "RemoveUser"
pull/6029/head
Hypolite Petovan 3 years ago
committed by GitHub
parent
commit
f174bc1bc2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Model/Item.php

2
src/Model/Item.php

@ -974,7 +974,7 @@ class Item extends BaseObject
*
* @return boolean success
*/
private static function deleteById($item_id, $priority = PRIORITY_HIGH)
public static function deleteById($item_id, $priority = PRIORITY_HIGH)
{
// locate item to be deleted
$fields = ['id', 'uri', 'uid', 'parent', 'parent-uri', 'origin',

Loading…
Cancel
Save