Browse Source

Appease phpdbg coverage bug

microsub
J. King 6 years ago
parent
commit
5f775bef7a
  1. 2
      lib/User.php

2
lib/User.php

@ -90,7 +90,7 @@ class User {
} }
try { try {
return $this->u->userRemove($user); return $this->u->userRemove($user);
} finally { } finally { // @codeCoverageIgnore
if (Arsse::$db->userExists($user)) { if (Arsse::$db->userExists($user)) {
// if the user was removed and we (still) have it in the internal database, remove it there // if the user was removed and we (still) have it in the internal database, remove it there
Arsse::$db->userRemove($user); Arsse::$db->userRemove($user);

Loading…
Cancel
Save