src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201512090753.php
private function upgradeNode(NodeInterface $node)
    {
        foreach ($node->getProperties('i18n:-*') as $property) {
            $property->remove();
        }

        foreach ($node->getNodes() as $childNode) {
            $this->upgradeNode($childNode);
        }
    }
private function upgradeNode(NodeInterface $node)
    {
        foreach ($node->getProperties('i18n:-*') as $property) {
            $property->remove();
        }

        foreach ($node->getNodes() as $childNode) {
            $this->upgradeNode($childNode);
        }
    }
private function upgradeNode ( NodeInterface $ node ) { foreach ( $ node -> getProperties ( 'i18n:-*' ) as $ property ) { $ property -> remove ( ) ; } foreach ( $ node -> getNodes ( ) as $ childNode ) { $ this -> upgradeNode ( $ childNode ) ; } }
Removes non translated properties.

@param NodeInterface $node
Removes non translated properties .