loadAllWhere('authorIdentityPHID IS NULL LIMIT 1'); if (!$commits) { return; } try { id(new PhabricatorConfigManualActivity()) ->setActivityType(PhabricatorConfigManualActivity::TYPE_IDENTITIES) ->save(); } catch (AphrontDuplicateKeyQueryException $ex) { // If we've already noted that this activity is required, just move on. }