projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add buttons to 'Cleanup caches and update paths' in standard way
[civicrm-core.git]
/
CRM
/
Admin
/
Form
/
Setting
/
UF.php
diff --git
a/CRM/Admin/Form/Setting/UF.php
b/CRM/Admin/Form/Setting/UF.php
index 792136a8f33149cc6afc7ba3ea59c1c438b7de65..efb8e9a44fbbf4478142b766f4fc9a59ee34ff78 100644
(file)
--- a/
CRM/Admin/Form/Setting/UF.php
+++ b/
CRM/Admin/Form/Setting/UF.php
@@
-36,7
+36,7
@@
*/
class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
*/
class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
- protected $_settings =
array()
;
+ protected $_settings =
[]
;
protected $_uf = NULL;
protected $_uf = NULL;
@@
-53,7
+53,7
@@
class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
}
CRM_Utils_System::setTitle(
}
CRM_Utils_System::setTitle(
- ts('Settings - %1 Integration',
array(1 => $this->_uf)
)
+ ts('Settings - %1 Integration',
[1 => $this->_uf]
)
);
if ($config->userSystem->is_drupal) {
);
if ($config->userSystem->is_drupal) {
@@
-85,7
+85,8
@@
class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
if ($config->userFramework === 'Backdrop') {
$tablePrefixes = '$database_prefix = array(';
}
if ($config->userFramework === 'Backdrop') {
$tablePrefixes = '$database_prefix = array(';
}
- $tablePrefixes .= "\n 'default' => '$drupal_prefix',"; // add default prefix: the drupal database prefix
+ // add default prefix: the drupal database prefix
+ $tablePrefixes .= "\n 'default' => '$drupal_prefix',";
$prefix = "";
if ($config->dsn != $config->userFrameworkDSN) {
$prefix = "`{$dsnArray['database']}`.";
$prefix = "";
if ($config->dsn != $config->userFrameworkDSN) {
$prefix = "`{$dsnArray['database']}`.";