mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 09:14:32 +02:00
Remove support for user.parent-uid = 0
- uid = 0 is the system user which isn't supposed to be the parent-uid of all the non-delegate users
This commit is contained in:
parent
70674f2ecc
commit
fc09017dd1
4 changed files with 21 additions and 15 deletions
|
@ -82,7 +82,7 @@ class UserTest extends MockedTest
|
|||
public function testIdentitiesAsParent()
|
||||
{
|
||||
$parentSelect = $this->parent;
|
||||
$parentSelect['parent-uid'] = 0;
|
||||
$parentSelect['parent-uid'] = null;
|
||||
|
||||
// Select the user itself (=parent)
|
||||
$this->dbMock->shouldReceive('selectFirst')->with('user',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue