src/Config/Config.php
protected function upgrade540()
    {
        $result = true;

        // ConfigStore::save should store all settings in 1 serialized value.
        $configStore = $this->getConfigStore();
        if (method_exists($configStore, 'loadOld')) {
            $values = $configStore->loadOld($this->getKeys());
            $result = $this->save($values);
        }

        return $result;
    }
protected function upgrade540()
    {
        $result = true;

        // ConfigStore::save should store all settings in 1 serialized value.
        $configStore = $this->getConfigStore();
        if (method_exists($configStore, 'loadOld')) {
            $values = $configStore->loadOld($this->getKeys());
            $result = $this->save($values);
        }

        return $result;
    }
protected function upgrade540 ( ) { $ result = true ; // ConfigStore::save should store all settings in 1 serialized value. $ configStore = $ this -> getConfigStore ( ) ; if ( method_exists ( $ configStore , 'loadOld' ) ) { $ values = $ configStore -> loadOld ( $ this -> getKeys ( ) ) ; $ result = $ this -> save ( $ values ) ; } return $ result ; }
5.4.0 upgrade.

- ConfigStore->save should store all settings in 1 serialized value.

@return bool
5 . 4 . 0 upgrade .