Changeset 2628


Ignore:
Timestamp:
5/22/2012 4:34:02 AM (3 years ago)
Author:
lowjoel
Message:

Fixed the retrieval of the build revision from the database.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/website/scripts/Build.php

    r2616 r2628  
    1616    private $Branch; 
    1717    private $Revision; 
    18      
     18 
    1919    /** 
    2020     * Constructor. 
     
    8585    public function __get($name) 
    8686    { 
     87        if ($name == 'Revision') 
     88            return $this->Revision; 
    8789        return parent::__get($name); 
    8890    } 
    89      
     91 
    9092    /** 
    9193     * Gets the link to the download that can be referenced publicly. 
     
    9799        return sprintf('http://%s/download.php?id=%d', $_SERVER['SERVER_NAME'], $this->ID); 
    98100    } 
    99      
     101 
    100102    /** 
    101103     * Creates a new build to be published to the website. This function will first upload 
Note: See TracChangeset for help on using the changeset viewer.