original_string: protected function updateValue($name, $value)
      {
          if (empty($name)) {
              return Yii::t('podium/flash', 'Installation aborted! Column name missing.');
          }
          if ($value === null) {
              return Yii::t('podium/flash', 'Installation aborted! Column value missing.');
          }
          try {
              Podium::getInstance()->podiumConfig->set($name, $value);
              return $this->returnSuccess(Yii::t('podium/flash', 'Config setting {name} has been updated to {value}.', [
                  'name'  => $name,
                  'value' => $value,
              ]));
          } catch (Exception $e) {
              return $this->returnError($e->getMessage(), __METHOD__,
                  Yii::t('podium/flash', 'Error during configuration updating')
              );
          }
      }
code: protected function updateValue($name, $value)
      {
          if (empty($name)) {
              return Yii::t('podium/flash', 'Installation aborted! Column name missing.');
          }
          if ($value === null) {
              return Yii::t('podium/flash', 'Installation aborted! Column value missing.');
          }
          try {
              Podium::getInstance()->podiumConfig->set($name, $value);
              return $this->returnSuccess(Yii::t('podium/flash', 'Config setting {name} has been updated to {value}.', [
                  'name'  => $name,
                  'value' => $value,
              ]));
          } catch (Exception $e) {
              return $this->returnError($e->getMessage(), __METHOD__,
                  Yii::t('podium/flash', 'Error during configuration updating')
              );
          }
      }
code_tokens: protected function updateValue ( $ name , $ value ) { if ( empty ( $ name ) ) { return Yii :: t ( 'podium/flash' , 'Installation aborted! Column name missing.' ) ; } if ( $ value === null ) { return Yii :: t ( 'podium/flash' , 'Installation aborted! Column value missing.' ) ; } try { Podium :: getInstance ( ) -> podiumConfig -> set ( $ name , $ value ) ; return $ this -> returnSuccess ( Yii :: t ( 'podium/flash' , 'Config setting {name} has been updated to {value}.' , [ 'name' => $ name , 'value' => $ value , ] ) ) ; } catch ( Exception $ e ) { return $ this -> returnError ( $ e -> getMessage ( ) , __METHOD__ , Yii :: t ( 'podium/flash' , 'Error during configuration updating' ) ) ; } }
docstring: Updates database value in config table.
  @param string $name config key
  @param string $value config value
  @return string result message
  @since 0.2
docstring_tokens: Updates database value in config table .