[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 committed by Diogo Peralta Cordeiro
parent 33721c85cd
commit bf274d34c6

View File

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