remove WebGUI::Utility::isBetween
This commit is contained in:
parent
a34f51a903
commit
631c4fe38c
3 changed files with 4 additions and 44 deletions
|
|
@ -1013,7 +1013,9 @@ sub setRank {
|
|||
next;
|
||||
}
|
||||
last unless $sibling;
|
||||
if (isBetween($sibling->getRank, $newRank, $currentRank)) {
|
||||
my $rank = $sibling->getRank;
|
||||
if ($rank >= $newRank && $rank <= $currentRank
|
||||
|| $rank >= $currentRank && $rank <= $newRank) {
|
||||
$outputSub->('moving %s', $sibling->getTitle);
|
||||
$sibling->cascadeLineage($previous);
|
||||
$previous = $sibling->lineage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue