Commit 66652f85 authored by Marco Villegas's avatar Marco Villegas
Browse files

minor: fix watchdog messages on _xapian_recursive_rmdir() function.

parent 0cce36c6
Loading
Loading
Loading
Loading
+2 −2
Changes for xapian.install: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -120,13 +120,13 @@ function _xapian_recursive_rmdir($path) {
        }
        else {
          if (!file_delete($fileinfo->getPathname())) {
            watchdog('xapian', "can not delete {$fileinfo->getPathname}");
            watchdog('xapian', 'Cannot delete file %file', array('%file' => $fileinfo->getPathname()));
          }
        }
      }
    }
    if (!rmdir($path)) {
      watchdog('xapian', "can not delete $path");
      watchdog('xapian', 'Cannot delete directory %directory', array('%directory' => $path));
    }
  }
}