remove reference assignment where unnecessary

Avoids a number of warnings on PHP7.
This commit is contained in:
Sarah Hoffmann
2016-06-04 23:46:19 +02:00
parent 92095c9247
commit 2156fb1ad7
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
function &getDB($bNew = false, $bPersistent = false)
{
// Get the database object
$oDB =& DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), $bPersistent);
$oDB = DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), $bPersistent);
if (PEAR::IsError($oDB))
{
var_dump(CONST_Database_DSN);