mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
DERP 2 with my last diff - shouldn't have pulled this outside the conditional
This commit is contained in:
parent
3b4ca71d47
commit
d2874a96b8
1 changed files with 2 additions and 2 deletions
|
@ -146,10 +146,10 @@ abstract class ConpherenceController extends PhabricatorController {
|
||||||
if (count($transactions) == $too_many) {
|
if (count($transactions) == $too_many) {
|
||||||
$last_transaction = end($transactions);
|
$last_transaction = end($transactions);
|
||||||
unset($transactions[$last_transaction->getID()]);
|
unset($transactions[$last_transaction->getID()]);
|
||||||
|
$oldest_transaction = end($transactions);
|
||||||
|
$oldest_transaction_id = $oldest_transaction->getID();
|
||||||
}
|
}
|
||||||
$transactions = array_reverse($transactions);
|
$transactions = array_reverse($transactions);
|
||||||
$oldest_transaction = reset($transactions);
|
|
||||||
$oldest_transaction_id = $oldest_transaction->getID();
|
|
||||||
$handles = $conpherence->getHandles();
|
$handles = $conpherence->getHandles();
|
||||||
$rendered_transactions = array();
|
$rendered_transactions = array();
|
||||||
$engine = id(new PhabricatorMarkupEngine())
|
$engine = id(new PhabricatorMarkupEngine())
|
||||||
|
|
Loading…
Reference in a new issue