Commit b60d230e authored by jigish.addweb's avatar jigish.addweb Committed by pifagor

Issue #3020270 by jigish.addweb, riddhi.addweb, freelylw, alex_optim, pifagor,...

Issue #3020270 by jigish.addweb, riddhi.addweb, freelylw, alex_optim, pifagor, voleger: error when uninstall
parent 88d0828b
...@@ -369,7 +369,9 @@ function xmlsitemap_enable() { ...@@ -369,7 +369,9 @@ function xmlsitemap_enable() {
*/ */
function xmlsitemap_uninstall() { function xmlsitemap_uninstall() {
// Remove the file cache directory. // Remove the file cache directory.
xmlsitemap_clear_directory(NULL, TRUE); if(function_exists('xmlsitemap_clear_directory')) {
xmlsitemap_clear_directory(NULL, TRUE);
}
// Remove variables. // Remove variables.
drupal_load('module', 'xmlsitemap'); drupal_load('module', 'xmlsitemap');
......
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