remove old services

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
update-master-target-versions
Maxence Lange 2022-11-03 11:33:18 -01:00
rodzic 7716f217f2
commit 31ae058033
3 zmienionych plików z 0 dodań i 23 usunięć

Wyświetl plik

@ -169,23 +169,6 @@ class Reset extends Base {
$this->coreRequestBuilder->uninstallSocialTables();
$this->coreRequestBuilder->uninstallFromMigrations();
$this->coreRequestBuilder->uninstallFromJobs();
$this->uninstallWellKnown();
$this->configService->unsetAppConfig();
}
/**
*
*/
private function uninstallWellKnown() {
if ($this->configService->getCoreValue('public_webfinger') === 'social/lib/webfinger.php') {
$this->configService->unsetCoreValue('public_webfinger');
}
if ($this->configService->getCoreValue('public_host-meta') === 'social/lib/hostmeta.php') {
$this->configService->unsetCoreValue('public_host-meta');
}
if ($this->configService->getCoreValue('public_host-meta-json') === 'social/lib/hostmeta.php') {
$this->configService->unsetCoreValue('public_host-meta-json');
}
}
}

Wyświetl plik

@ -202,9 +202,6 @@ class AccountService {
/* we do nohtin */
}
$this->configService->setCoreValue('public_webfinger', 'social/lib/webfinger.php');
$this->configService->setCoreValue('public_host-meta', 'social/lib/hostmeta.php');
$actor = new Person();
$actor->setUserId($userId);
$actor->setPreferredUsername($username);

Wyświetl plik

@ -155,9 +155,6 @@ class CheckService {
* @return array
*/
public function checkInstallationStatus(bool $light = false): array {
$this->configService->setCoreValue('public_webfinger', 'social/lib/webfinger.php');
$this->configService->setCoreValue('public_host-meta', 'social/lib/hostmeta.php');
$result = [];
if (!$light) {
$result = [