resources: Extract ForeignResourceManager from manageForeignResources.php
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 15 Oct 2018 01:56:46 +0000 (02:56 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 15 Oct 2018 02:16:18 +0000 (03:16 +0100)
commit54bd63946780e34894a50707f8378b76a2208096
tree5fe4bed029cae92767bf8ba7249202e755e4a96e
parent6cb3fa392f5772f9e5e7b4b4769da1ba4cfda891
resources: Extract ForeignResourceManager from manageForeignResources.php

This should make it easier to test, and would also allow other repositories
to create an instance of it in a maintenance script of their own.

Change-Id: I6a28e184f80eb38b5c25a0be5a9041f0c587c852
autoload.php
includes/ForeignResourceManager.php [new file with mode: 0644]
maintenance/resources/manageForeignResources.php