src/Config/Config.php
protected function upgrade470()
    {
        $result = true;
        $newSettings = array();

        if ($this->get('salutation') && strpos($this->get('salutation'), '[#') !== false) {
            $newSettings['salutation'] = str_replace('[#', '[', $this->get('salutation'));
        }

        if (!empty($newSettings)) {
            $result = $this->save($newSettings);
        }
        return $result;
    }
protected function upgrade470()
    {
        $result = true;
        $newSettings = array();

        if ($this->get('salutation') && strpos($this->get('salutation'), '[#') !== false) {
            $newSettings['salutation'] = str_replace('[#', '[', $this->get('salutation'));
        }

        if (!empty($newSettings)) {
            $result = $this->save($newSettings);
        }
        return $result;
    }
protected function upgrade470 ( ) { $ result = true ; $ newSettings = array ( ) ; if ( $ this -> get ( 'salutation' ) && strpos ( $ this -> get ( 'salutation' ) , '[#' ) !== false ) { $ newSettings [ 'salutation' ] = str_replace ( '[#' , '[' , $ this -> get ( 'salutation' ) ) ; } if ( ! empty ( $ newSettings ) ) { $ result = $ this -> save ( $ newSettings ) ; } return $ result ; }
4.7.0 upgrade.

- salutation could already use token, but with old syntax: remove # after [.

@return bool
4 . 7 . 0 upgrade .