HomePhabricator

MovePage: Move target existence check into isValidMove()

Authored by Legoktm.

Description

MovePage: Move target existence check into isValidMove()

The target existence check is not dependent upon the user who is making
the move, so move it into MovePage::isValidMove() instead of
MovePage::checkPermissions() which not all callers will call.

Bug: T97536
Change-Id: I3aad1455ad4c064cbeaf35221a00ca6baba97c33
(cherry picked from commit 75c813cc9a992e7e2766d0ff79db1021e3beba8a)

Details

Committed
LegoktmApr 29 2015, 8:16 PM
Parents
rMW770e3eeaeceb: Update MobileFrontend extension to 1a1959b
Branches
Unknown
Tags
Unknown
References
refs/changes/57/207557/1
ChangeId
I3aad1455ad4c064cbeaf35221a00ca6baba97c33