com web/rmtools: Fix typo remove non applicable comment: include/Branch.php
| From: | Anatol Belski | Date: | Mon, 18 Sep 2017 14:45:03 +0000 |
| Subject: | com web/rmtools: Fix typo remove non applicable comment: include/Branch.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26410@lists.php.net to get a copy of this message | ||
Commit: d77306bd7f239e4ac7dcd2010241a87f3efda8af
Author: Anatol Belski <ab@php.net> Mon, 18 Sep 2017 16:45:03 +0200
Parents: 4515772d8121ae352f3917f47245940913b47811
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d77306bd7f239e4ac7dcd2010241a87f3efda8af
Log:
Fix typo remove non applicable comment
Changed paths:
M include/Branch.php
Diff:
diff --git a/include/Branch.php b/include/Branch.php
index d3e2a47..3a7b1c3 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -197,8 +197,6 @@ class Branch {
public function setLastRevisionExported($last_rev)
{
- /* Basically, we need two runs for x64 and x86, every run covers ts and nts.
- Only set the revision exported, if we're on last required build run. */
if ($this->requiredBuildRunsReached()) {
$this->data->revision_last_exported = $last_rev;
$this->writeData();
@@ -274,7 +272,7 @@ class Branch {
function resetBuildInfo()
{
- if (self::REQUIRED_BUILDS_NUM <= $branch->numBuildsRunning()) {
+ if (self::REQUIRED_BUILDS_NUM <= $this->numBuildsRunning()) {
$this->data = $this->readdata();
$this->data->build_num = 0;
$this->data->builds = array();