Merge pull request #6028 from annando/issue-5913
Issue 5913: Fix fatal error in "RemoveUser"
This commit is contained in:
commit
f174bc1bc2
|
@ -974,7 +974,7 @@ class Item extends BaseObject
|
||||||
*
|
*
|
||||||
* @return boolean success
|
* @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
|
// locate item to be deleted
|
||||||
$fields = ['id', 'uri', 'uid', 'parent', 'parent-uri', 'origin',
|
$fields = ['id', 'uri', 'uid', 'parent', 'parent-uri', 'origin',
|
||||||
|
|
Loading…
Reference in a new issue