kopia lustrzana https://github.com/nextcloud/social
Merge pull request #1510 from nextcloud/clean/noid/remove-old-call-to-public-services
remove old servicespull/1511/head
commit
4aa75cfd76
|
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Ładowanie…
Reference in New Issue