Followup r68760: add comment
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 18 Oct 2010 22:37:44 +0000 (22:37 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 18 Oct 2010 22:37:44 +0000 (22:37 +0000)
includes/WebStart.php
maintenance/doMaintenance.php

index dee5d4b..4060c55 100644 (file)
@@ -97,6 +97,7 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) {
        require_once( "$IP/includes/DefaultSettings.php" );
 
        $callback = MW_CONFIG_CALLBACK;
+       # PHP 5.1 doesn't support "class::method" for call_user_func, so split it
        if ( strpos( $callback, '::' ) !== false ) {
                $callback = explode( '::', $callback, 2);
        }
index 7547a49..bf51c2c 100644 (file)
@@ -67,6 +67,7 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) {
        require_once( "$IP/includes/DefaultSettings.php" );
 
        $callback = MW_CONFIG_CALLBACK;
+       # PHP 5.1 doesn't support "class::method" for call_user_func, so split it
        if ( strpos( $callback, '::' ) !== false ) {
                $callback = explode( '::', $callback, 2);
        }