distribution: Make sState member private

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-12 19:13:16 +01:00
committed by Chris Morgan
parent 49d334d1d1
commit 956e5391de
2 changed files with 9 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ class distribution {
var $sUrl;
var $sSubmitTime;
var $iSubmitterId;
var $sState;
private $sState;
var $aTestingIds;
// constructor, fetches the data.
@@ -556,6 +556,11 @@ class distribution {
return $oOMTableRow;
}
public function objectGetState()
{
return $this->sState;
}
// Whether the user has permission to edit distributions
function canEdit()
{