Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions includes/Jobs/RequestCustomDomainCFAddJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(
$this->zoneId = $this->config->get( 'RequestCustomDomainCloudflareConfig' )['zoneid'] ?? '';

$this->messageLocalizer = RequestContext::getMain();
$this->systemUser = User::newSystemUser( 'RequestCustomDomain Extension', [ 'steal' => true ] );
$this->systemUser = User::newSystemUser( 'RequestCustomDomain Status Update', [ 'steal' => true ] );

$this->baseApiUrl = 'https://api.cloudflare.com/client/v4';
$this->id = $params['id'];
Expand Down Expand Up @@ -167,7 +167,9 @@ private function handleOutcome( string $status, string $comment ): bool {
$this->requestManager->updateServerName();

// Log the request to the ManageWiki log
$this->requestManager->logToManageWiki( $this->systemUser );
$this->requestManager->logToManageWiki(
User::newSystemUser( 'RequestCustomDomain Extension', [ 'steal' => true ] )
);

$this->requestManager->setStatus( 'complete' );
$this->requestManager->addComment( $activeCommentText, $this->systemUser );
Expand Down
Loading