HomePhabricator

Simplify ApiStashEdit::checkCache()

Authored by aaron on Jun 8 2016, 10:23 AM.

Description

Simplify ApiStashEdit::checkCache()

Per https://grafana.wikimedia.org/dashboard/db/edit-stash, the
proven_* cases are almost never hit. Simplify the code to avoid
complexity and slow link table queries.

Change-Id: I3f8bd79a80ddb26c6188b1a301c08766e38f6ad4