Removed sitemap ping because is deprecated (#1738)

* Removed sitemap ping because is deprecated

* Update CHANGELOG.md

* Update Sitemap.php

* Update main.php

* Update config.php

* Update sitemap.php

* Updated

* Update admin_sitemap.tpl

* Update admin_sitemap.tpl

* Update admin_sitemap.tpl
This commit is contained in:
Roman Kelesidis 2025-01-08 14:16:39 +07:00 committed by GitHub
commit 4cc6fa0e6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 99 additions and 179 deletions

View file

@ -13,11 +13,3 @@ if (!defined('BB_ROOT')) {
$map = new TorrentPier\Sitemap();
$map->createSitemap();
if (is_file(SITEMAP_DIR . '/sitemap.xml')) {
$map_link = make_url(hide_bb_path(SITEMAP_DIR . '/sitemap.xml'));
foreach ($bb_cfg['sitemap_sending'] as $source_name => $source_link) {
$map->sendSitemap($source_link, $map_link);
}
}