exit();
}
- $this->generateTemplateVersion($argVersion);
+ $this->generateTemplateVersion($db_version);
$this->setupCms($argCms, $db_version);
$this->beautifier->save();
}
- function generateTemplateVersion($argVersion) {
- // add the Subversion revision to templates
- // use svnversion if the version was not specified explicitely on the commandline
- if (isset($argVersion) and $argVersion != '') {
- $svnversion = $argVersion;
- }
- else {
- $svnversion = `svnversion .`;
- }
- file_put_contents($this->tplCodePath . "/CRM/common/version.tpl", $svnversion);
+ function generateTemplateVersion($dbVersion) {
+ file_put_contents($this->tplCodePath . "/CRM/common/version.tpl", $dbVersion);
}
function findLocales() {