#1102182 by jwilson3 backup_migrate_include shoudnt be used in .install
authorRonan Dowling
Sun, 5 Feb 2012 05:01:27 +0000 (23:01 -0600)
committerRonan Dowling
Sun, 5 Feb 2012 05:01:27 +0000 (23:01 -0600)
backup_migrate.install

index 0c78a3a..bf50e32 100644 (file)
@@ -185,8 +185,7 @@ function backup_migrate_install() {
 }
 
 function _backup_migrate_setup_database_defaults() {
-  backup_migrate_include('crud');
-
+  require_once DRUPAL_ROOT . '/'. drupal_get_path('module', 'backup_migrate') .'/includes/crud.inc';
   require_once DRUPAL_ROOT . '/'. drupal_get_path('module', 'backup_migrate') .'/backup_migrate.module';
   require_once DRUPAL_ROOT . '/'. drupal_get_path('module', 'backup_migrate') .'/includes/profiles.inc';
   require_once DRUPAL_ROOT . '/'. drupal_get_path('module', 'backup_migrate') .'/includes/db.inc';