/**
  * Performs the update itself
  *
  * @param	array		pointer where to insert all DB queries made, so they can be shown to the user if wanted
  * @param	string		pointer to output custom messages
  * @return	boolean		true if update succeeded, false otherwise
  */
 function performUpdate(&$dbQueries, &$customMessages)
 {
     $customMessages = '';
     // if we just set it to an older version
     if ($this->userInput['version']) {
         $customMessages .= 'If you want to see what you need to do to use the new features, run the update wizard again!';
     }
     $linesArr = $this->pObj->writeToLocalconf_control();
     $version = $this->userInput['version'] ? $this->userInput['version'] : TYPO3_branch;
     $this->pObj->setValueInLocalconfFile($linesArr, '$TYPO3_CONF_VARS[\'SYS\'][\'compat_version\']', $version);
     $this->pObj->writeToLocalconf_control($linesArr, 0);
     $customMessages .= '<br />The compatibility version has been set to ' . $version . '.';
     return 1;
 }