You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: strategy.rb
    path of file: ./repos/gitlabhq/qa/qa/ce
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module QA
  module CE
    module Strategy
      extend self

      def perform_before_hooks
        if QA::Runtime::Env.admin_personal_acc
    
      def perform_before_hooks
        if QA::Runtime::Env.admin_personal_access_token.present?
          QA::Resource::PersonalAccessTokenCache.set_token_for_username(
            QA::Runtime::User.admin_username,
            QA::Runtime::Env.admin_personal_access_token
          )
        end