OldGroupMembershipShares

class OC\Repair\OldGroupMembershipShares
Source:lib/private/Repair/OldGroupMembershipShares.php#32
Implements:OCP\Migration\IRepairStep

Properties

protected static property OC\Repair\OldGroupMembershipShares::$connection
Source:lib/private/Repair/OldGroupMembershipShares.php#35
Type:\OCP\IDBConnection
protected static property OC\Repair\OldGroupMembershipShares::$groupManager
Source:lib/private/Repair/OldGroupMembershipShares.php#38
Type:\OCP\IGroupManager
protected static property OC\Repair\OldGroupMembershipShares::$memberships
Source:lib/private/Repair/OldGroupMembershipShares.php#43
Type:array [gid => [uid => (bool)]]

Methods

public OC\Repair\OldGroupMembershipShares::__construct($connection, $groupManager)
Source:

lib/private/Repair/OldGroupMembershipShares.php#49

Parameters:
public OC\Repair\OldGroupMembershipShares::getName()
Returns the step’s name
Source:lib/private/Repair/OldGroupMembershipShares.php#59
Returns:string
public OC\Repair\OldGroupMembershipShares::run($output)
Run repair step.
Must throw exception on error.
Source:lib/private/Repair/OldGroupMembershipShares.php#69
Throws:\Exception in case of failure
protected OC\Repair\OldGroupMembershipShares::isMember($gid, $uid)
Source:

lib/private/Repair/OldGroupMembershipShares.php#105

Parameters:
  • $gid (string)
  • $uid (string)
Returns:

bool