Commit 2680df6b authored by andrei.dincu's avatar andrei.dincu
Browse files

Issue #2249723 by andrei.dincu: Replace module_exists with D8 code and remove...

Issue #2249723 by andrei.dincu: Replace module_exists with D8 code and remove uri export from xmlsitemap.schema.yml file
parent 3ac1fca0
......@@ -96,6 +96,4 @@ xmlsitemap.*:
updated:
type: integer
label: 'Last time sitemap was updated'
uri:
type: mapping
......@@ -22,7 +22,7 @@ function xmlsitemap_engines_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/config/search/xmlsitemap/engines':
if (!module_exists('site_verify')) {
if (!\Drupal::moduleHandler()->moduleExists('site_verify')) {
$output .= '<p>' . t('In order to verify site ownership with the search engines listed below, it is highly recommended to download and install the <a href="@site-verify">Site verification module</a>.', array('@site-verify' => 'http://drupal.org/project/site_verify')) . '</p>';
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment