Skip to content

Commit

Permalink
Rename BUILD_NUMBER to .build_number so it's not so loud.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 18, 2011
1 parent 29be21b commit 76411d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BUILD_NUMBER merge=merge-keep-ours
.build_number merge=merge-keep-ours

4 changes: 2 additions & 2 deletions modules/gallery/helpers/gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ static function version_string() {
}

/**
* Return the contents of the BUILD_NUMBER file, which should be a single integer.
* Return the contents of the .build_number file, which should be a single integer.
*/
static function build_number() {
$result = parse_ini_file(DOCROOT . "BUILD_NUMBER");
$result = parse_ini_file(DOCROOT . ".build_number");
return $result["build_number"];
}
}

0 comments on commit 76411d7

Please sign in to comment.