mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 10:57:58 +00:00
remove reference assignment where unnecessary
Avoids a number of warnings on PHP7.
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
{
|
||||
echo "Create DB\n";
|
||||
$bDidSomething = true;
|
||||
$oDB =& DB::connect(CONST_Database_DSN, false);
|
||||
$oDB = DB::connect(CONST_Database_DSN, false);
|
||||
if (!PEAR::isError($oDB))
|
||||
{
|
||||
fail('database already exists ('.CONST_Database_DSN.')');
|
||||
|
||||
Reference in New Issue
Block a user