From 76eeb935253f42e836a58e1f9d077caaa498c947 Mon Sep 17 00:00:00 2001 From: Lars Gleim Date: Fri, 19 Feb 2016 22:21:03 +0100 Subject: [PATCH] Update Drupal6.php Include previously issing getUsersTableName() function from CRM/Utils/System/Drupal.php. Fixes broken CRON on CiviCRM 4.7 Drupal 6 installations. --- CRM/Utils/System/Drupal6.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Utils/System/Drupal6.php b/CRM/Utils/System/Drupal6.php index 3a08d2e591..451eca0ee9 100644 --- a/CRM/Utils/System/Drupal6.php +++ b/CRM/Utils/System/Drupal6.php @@ -286,6 +286,14 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { global $base_url; $base_url = str_replace('http://', 'https://', $base_url); } + + protected function getUsersTableName() { + $userFrameworkUsersTableName = Civi::settings()->get('userFrameworkUsersTableName'); + if (empty($userFrameworkUsersTableName)) { + $userFrameworkUsersTableName = 'users'; + } + return $userFrameworkUsersTableName; + } /** * @inheritDoc -- 2.25.1