eZ\Publish\Core\Persistence\Legacy\User\Role\Gateway\ExceptionConversion::removePolicyLimitations PHP Method

removePolicyLimitations() public method

Removes a policy from a role.
public removePolicyLimitations ( mixed $policyId )
$policyId mixed
    public function removePolicyLimitations($policyId)
    {
        try {
            return $this->innerGateway->removePolicyLimitations($policyId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }