summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-01 15:46:15 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-01 15:46:15 +0000
commit454facb408465d69f194170e5af9eaf926a3008c (patch)
tree0b2c19330ece1a1a8a41c117bdeb481cc8db488b /phpfspot.class.php
parente2893be9932bed25fe30e752bd6033a6c8e2a67f (diff)
issue74, remove references as they seem to be deprecated
git-svn-id: file:///var/lib/svn/phpfspot/trunk@281 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 57551f3..559e4f5 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -50,14 +50,14 @@ class PHPFSPOT {
$this->cfg = new PHPFSPOT_CFG;
- $this->db = new PHPFSPOT_DB(&$this, $this->cfg->fspot_db);
+ $this->db = new PHPFSPOT_DB($this, $this->cfg->fspot_db);
if(!is_writeable(dirname($this->cfg->phpfspot_db))) {
print dirname($this->cfg->phpfspot_db) .": directory is not writeable!";
exit(1);
}
- $this->cfg_db = new PHPFSPOT_DB(&$this, $this->cfg->phpfspot_db);
+ $this->cfg_db = new PHPFSPOT_DB($this, $this->cfg->phpfspot_db);
if(!is_writeable($this->cfg->phpfspot_db)) {
print $this->cfg->phpfspot_db ." is not writeable for user ". $this->getuid() ."\n";
exit(1);