Skip to content

Instantly share code, notes, and snippets.

@ao5357
Created May 18, 2021 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ao5357/e0b69d5b7ef36a5de49cdf9a881e4d3c to your computer and use it in GitHub Desktop.
Save ao5357/e0b69d5b7ef36a5de49cdf9a881e4d3c to your computer and use it in GitHub Desktop.
Patch to comment out a views_include in 7.x
diff --git a/includes/plugins.inc b/includes/plugins.inc
index 8308e01c..5e62153b 100644
--- a/includes/plugins.inc
+++ b/includes/plugins.inc
@@ -6,7 +6,7 @@
*/
// @todo Remove this once update.php can use the registry.
-views_include('base');
+//views_include('base');
/**
* Implements hook_views_plugins().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment