Commit 307a75e3 authored by Zach Copley's avatar Zach Copley

Fix deprecated call-time pass by references

parent 9535f0d0
......@@ -2643,7 +2643,7 @@ class Notice extends Managed_DataObject
}
foreach ($notices as $notice) {
$faves = $faveMap[$notice->id];
$notice->_setFaves(&$faves);
$notice->_setFaves($faves);
}
}
......@@ -2684,7 +2684,7 @@ class Notice extends Managed_DataObject
$repeatMap = Memcached_DataObject::listGet('Notice', 'repeat_of', $ids);
foreach ($notices as $notice) {
$repeats = $repeatMap[$notice->id];
$notice->_setRepeats(&$repeats);
$notice->_setRepeats($repeats);
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment