Commit 0884cfdc authored by git's avatar git Committed by bgm

Issue #718644 : pgsql check was failing because the global variable was not declared

parent dc4481d2
......@@ -6164,7 +6164,7 @@ function boost_crawler_seed_tables($expire) {
*/
function boost_crawler_add_alias_to_table() {
// Insert batch of html URL's into boost_crawler table
global $base_url, $language;
global $base_url, $language, $db_type;
if (!variable_get('boost_crawl_url_alias', FALSE)) {
return TRUE;
}
......@@ -6255,6 +6255,8 @@ function boost_crawler_add_alias_to_table() {
* Has the site changed, if so get expire column
*/
function boost_crawler_prune_table($expire) {
global $db_type;
if (variable_get('boost_crawl_prune_table', FALSE)) {
return TRUE;
}
......
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