[TwitterBridge] Fix issue "Only variables should be assigned by reference"

From the docs: "The new operator returns a reference automatically, so
assigning the result of new by reference is not allowed as of PHP 7.0.0"
This commit is contained in:
t3nma 2020-08-06 17:17:28 +01:00
parent 849ad494d8
commit 22d650469b
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon
// Note: DataObject::getDatabaseConnection() creates
// a new connection if there isn't one already
$conn = &$flink->getDatabaseConnection();
$conn = $flink->getDatabaseConnection();
$this->subscribeTwitterFriends($flink);