1
1
Fork 0

Merge pull request #6028 from annando/issue-5913

Issue 5913: Fix fatal error in "RemoveUser"
This commit is contained in:
Hypolite Petovan 2018-10-26 00:32:16 -04:00 committed by GitHub
commit f174bc1bc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',