Skip to content

Commit 88eb03b

Browse files
Fix
1 parent 99f3a8d commit 88eb03b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

includes/HookHandlers/ManageWiki.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,9 @@ public function onManageWikiCoreFormSubmission(
162162

163163
$mwCore->trackChange( 'article-path', $articlePath, $formData['article-path'] );
164164

165-
$server = $mwCore->getServerName() ?: substr(
166-
$dbname, 0,
165+
$server = $mwCore->getServerName() ?: ( substr( $dbname, 0,
167166
-strlen( $this->options->get( ConfigNames::DatabaseSuffix ) )
168-
) . ".$primaryDomain";
167+
) . ".$primaryDomain" );
169168
$this->jobQueueGroupFactory->makeJobQueueGroup( $dbname )->push(
170169
new CdnPurgeJob( [
171170
'urls' => [

0 commit comments

Comments
 (0)