Commit 50a292bd authored by Nicholas Thompson's avatar Nicholas Thompson
Browse files

Fix from #1205024 - check for taxonomy module before updating.

parent a75f1e59
......@@ -67,6 +67,11 @@ function page_title_update_6200() {
function page_title_update_7200() {
$ret = array();
// If taxonomy not enabled, do no further updates
if (!module_exists('taxonomy')) {
return $ret;
}
foreach (taxonomy_get_vocabularies() as $vocab) {
$page_title_vocab_settings = variable_get("page_title_vocab_{$vocab->vid}", FALSE);
$page_title_vocab_showfield = variable_get("page_title_vocab_{$vocab->vid}_showfield", FALSE);
......
Supports Markdown
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