We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f3a8d commit 88eb03bCopy full SHA for 88eb03b
includes/HookHandlers/ManageWiki.php
@@ -162,10 +162,9 @@ public function onManageWikiCoreFormSubmission(
162
163
$mwCore->trackChange( 'article-path', $articlePath, $formData['article-path'] );
164
165
- $server = $mwCore->getServerName() ?: substr(
166
- $dbname, 0,
+ $server = $mwCore->getServerName() ?: ( substr( $dbname, 0,
167
-strlen( $this->options->get( ConfigNames::DatabaseSuffix ) )
168
- ) . ".$primaryDomain";
+ ) . ".$primaryDomain" );
169
$this->jobQueueGroupFactory->makeJobQueueGroup( $dbname )->push(
170
new CdnPurgeJob( [
171
'urls' => [
0 commit comments