Commit f1a56a9b authored by tripper54's avatar tripper54 Committed by Dave Reid

Issue #1460594 by tripper54 | coderintherye: Removed use of deprecated function drupal_realpath().

parent bbce7d63
......@@ -37,7 +37,7 @@ class XMLSitemapWriter extends XMLWriter {
}
public function openUri($uri) {
$return = parent::openUri(drupal_realpath($uri));
$return = parent::openUri($uri);
if (!$return) {
throw new XMLSitemapGenerationException(t('Could not open file @file for writing.', array('@file' => $uri)));
}
......
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