Add buttons to 'Cleanup caches and update paths' in standard way
[civicrm-core.git] / CRM / Admin / Form / Setting / UF.php
index 792136a8f33149cc6afc7ba3ea59c1c438b7de65..efb8e9a44fbbf4478142b766f4fc9a59ee34ff78 100644 (file)
@@ -36,7 +36,7 @@
  */
 class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
 
-  protected $_settings = array();
+  protected $_settings = [];
 
   protected $_uf = NULL;
 
@@ -53,7 +53,7 @@ class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
     }
 
     CRM_Utils_System::setTitle(
-      ts('Settings - %1 Integration', array(1 => $this->_uf))
+      ts('Settings - %1 Integration', [1 => $this->_uf])
     );
 
     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(';
       }
-      $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']}`.";