<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
protected $_oldSiteName;
/**
- * Function to build the form
+ * Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
CRM_Utils_System::setTitle(ts('Settings - Cleanup Caches and Update Paths'));
parent::buildQuickForm();
}
- function setDefaultValues() {
+ public function setDefaultValues() {
if (!$this->_defaults) {
parent::setDefaultValues();
*
* @return array
*/
- static function formRule($fields) {
+ public static function formRule($fields) {
$tmpDir = trim($fields['newBaseDir']);
$errors = array();
return $errors;
}
- function postProcess() {
+ public function postProcess() {
if (!empty($_POST['_qf_UpdateConfigBackend_next_cleanup'])) {
$config = CRM_Core_Config::singleton();
$val = CRM_Utils_File::addTrailingSlash($val);
}
}
-
- //CRM-15365 - Fix BaseURL to avoid wrong trailing slash on Windows installs
+
+ //CRM-15365 - Fix BaseURL to avoid wrong trailing slash on Windows installs
foreach ($params as $name => & $val) {
if ($val && in_array($name, array('newBaseURL'))) {
- $val = CRM_Utils_File::addTrailingSlash($val,"/");
+ $val = CRM_Utils_File::addTrailingSlash($val, "/");
}
}
parent::rebuildMenu();
}
}
-