Chad has submitted this change and it was merged.
Change subject: Remove "Protection for unusual entry points"
......................................................................
Remove "Protection for unusual entry points"
Unnecessary and broken due to directory restructuring. All web entry
points should include WebStart.php; all CLI scripts should include
both Maintenance.php and doMaintenance.php (or commandLine.inc).
Change-Id: I6a908d4c2c82177b76c8a9d06f51a8939004174c
---
M wmf-config/CommonSettings.php
1 file changed, 0 insertions(+), 5 deletions(-)
Approvals:
Chad: Verified; Looks good to me, approved
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 4268641..f507fb2 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -31,11 +31,6 @@
ini_set( 'error_append_string', ' (' . $_SERVER['SERVER_ADDR'] . ')' );
}
-# Protection for unusual entry points
-if ( !function_exists( 'wfProfileIn' ) ) {
- require( './includes/ProfilerStub.php' );
-}
-
$fname = 'CommonSettings.php';
wfProfileIn( $fname );
wfProfileIn( "$fname-init" );
--
To view, visit https://gerrit.wikimedia.org/r/164008
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a908d4c2c82177b76c8a9d06f51a8939004174c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: PleaseStand <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits