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
1 changed files with 1 additions and 1 deletions

View File

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