Ver código fonte

Move lib/repair to lib/private/repair

tags/v9.0beta1
Morris Jobke 8 anos atrás
pai
commit
604897945b

+ 0
- 3
lib/autoloader.php Ver arquivo

@@ -112,9 +112,6 @@ class Autoloader {
$paths[] = \OC::$SERVERROOT . '/core/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';
} else if ($split[1] === 'settings') {
$paths[] = \OC::$SERVERROOT . '/settings/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';
} else if ($split[1] === 'repair') {
$paths[] = \OC::$SERVERROOT . '/lib/repair/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';

} else {
$paths[] = \OC::$SERVERROOT . '/lib/private/' . $split[1] . '/' . strtolower(str_replace('\\', '/', $split[2])) . '.php';
}

lib/repair/assetcache.php → lib/private/repair/assetcache.php Ver arquivo


lib/repair/cleantags.php → lib/private/repair/cleantags.php Ver arquivo


lib/repair/collation.php → lib/private/repair/collation.php Ver arquivo


lib/repair/dropoldjobs.php → lib/private/repair/dropoldjobs.php Ver arquivo


lib/repair/dropoldtables.php → lib/private/repair/dropoldtables.php Ver arquivo


lib/repair/filletags.php → lib/private/repair/filletags.php Ver arquivo


lib/repair/innodb.php → lib/private/repair/innodb.php Ver arquivo


lib/repair/oldgroupmembershipshares.php → lib/private/repair/oldgroupmembershipshares.php Ver arquivo


lib/repair/preview.php → lib/private/repair/preview.php Ver arquivo


lib/repair/removegetetagentries.php → lib/private/repair/removegetetagentries.php Ver arquivo


lib/repair/repairinvalidshares.php → lib/private/repair/repairinvalidshares.php Ver arquivo


lib/repair/repairlegacystorages.php → lib/private/repair/repairlegacystorages.php Ver arquivo


lib/repair/repairmimetypes.php → lib/private/repair/repairmimetypes.php Ver arquivo


lib/repair/searchlucenetables.php → lib/private/repair/searchlucenetables.php Ver arquivo


lib/repair/sqliteautoincrement.php → lib/private/repair/sqliteautoincrement.php Ver arquivo


lib/repair/updatecertificatestore.php → lib/private/repair/updatecertificatestore.php Ver arquivo


lib/repair/updateoutdatedocsids.php → lib/private/repair/updateoutdatedocsids.php Ver arquivo


+ 1
- 1
tests/lib/autoloader.php Ver arquivo

@@ -90,7 +90,7 @@ class AutoLoader extends TestCase {

public function testLoadCoreNamespaceRepair() {
$this->assertEquals([
\OC::$SERVERROOT . '/lib/repair/foo/bar.php',
\OC::$SERVERROOT . '/lib/private/repair/foo/bar.php',
], $this->loader->findClass('OC\Repair\Foo\Bar'));
}
}

Carregando…
Cancelar
Salvar