From 454facb408465d69f194170e5af9eaf926a3008c Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Thu, 1 Nov 2007 15:46:15 +0000 Subject: issue74, remove references as they seem to be deprecated git-svn-id: file:///var/lib/svn/phpfspot/trunk@281 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 4 ++-- phpfspot_db.php | 2 +- 2 files changed, 3 insertions(+), 3 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); diff --git a/phpfspot_db.php b/phpfspot_db.php index fba87b3..a3f1234 100644 --- a/phpfspot_db.php +++ b/phpfspot_db.php @@ -125,7 +125,7 @@ class PHPFSPOT_DB { } // db_exec() - public function db_fetch_object(&$resource) + public function db_fetch_object($resource) { return sqlite3_fetch_array($resource); -- cgit v1.2.3-18-g5258