summaryrefslogtreecommitdiffstats
path: root/class/FedoraPkgdb.php
diff options
context:
space:
mode:
Diffstat (limited to 'class/FedoraPkgdb.php')
-rw-r--r--class/FedoraPkgdb.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/class/FedoraPkgdb.php b/class/FedoraPkgdb.php
index d170911..15ddf50 100644
--- a/class/FedoraPkgdb.php
+++ b/class/FedoraPkgdb.php
@@ -37,12 +37,12 @@
class FedoraPkgdb extends FedoraClient
{
- private $suburl;
+ private $_suburl;
function __construct (array $options=array())
{
parent::__construct('https://admin.fedoraproject.org/pkgdb/', $options);
- $this->suburl = 'acls/name/';
+ $this->_suburl = 'acls/name/';
$this->logDebug(
3,
@@ -80,12 +80,12 @@ class FedoraPkgdb extends FedoraClient
function getPackageURL($name)
{
- return $this->url.$this->suburl.$name;
+ return $this->url.$this->_suburl.$name;
}
function getPackageInfo($name, $refresh=false)
{
- $url=$this->suburl.urlencode($name);
+ $url=$this->_suburl.urlencode($name);
$rep = ($refresh ? false : $this->cache->get($url, __CLASS__));
if ($rep) {
$this->logDebug(
@@ -108,12 +108,12 @@ class FedoraPkgdb extends FedoraClient
);
return false;
}
- $this->logDebug(8,print_r($rep,true));
+ $this->logDebug(8, print_r($rep, true));
$branches = array();
foreach ($rep['packageListings'] as $pack) {
$branches[$pack['collection']['branchname']] = $pack;
}
- $this->logDebug(7,print_r($branches,true));
+ $this->logDebug(7, print_r($branches, true));
return $branches;
}