Use new ScopedCallback::newScopedIgnoreUserAbort helper function
authorstibba <stevenvandenwildenberg@gmail.com>
Mon, 29 Oct 2018 21:18:29 +0000 (22:18 +0100)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 2 Nov 2018 00:18:01 +0000 (17:18 -0700)
commit3ee7eee36015ce6b47c6695e66eaa54a9dcfd29a
tree930bca023b982a2080b17440cce7bd7a87c15fe9
parentd6b7f3fc3b80766b10ec496fb96d055e831b8216
Use new ScopedCallback::newScopedIgnoreUserAbort helper function

Introduced in Ib6e307d76f93.

This patch updates FileBackend, LoadBalancer and LBFactory to use a public
function newScopedIgnoreUserAbort in ScopedCallback instead of all using
the exact same function but duplicated.

Bug: T184044
Change-Id: I27d7dc16abfe4b9447d7f3d8bd89f0de3ddeb662
includes/libs/filebackend/FileBackend.php
includes/libs/rdbms/lbfactory/LBFactory.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php