From: Lars Gleim Date: Fri, 19 Feb 2016 21:21:03 +0000 (+0100) Subject: Update Drupal6.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=76eeb93;p=civicrm-core.git Update Drupal6.php Include previously issing getUsersTableName() function from CRM/Utils/System/Drupal.php. Fixes broken CRON on CiviCRM 4.7 Drupal 6 installations. --- 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