Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -937,6 +937,7 @@ |
938 | 938 | } |
939 | 939 | $called = true; |
940 | 940 | |
| 941 | + wfDeprecated( __FUNCTION__ ); |
941 | 942 | $bt = wfDebugBacktrace(); |
942 | 943 | if( $bt ) { |
943 | 944 | for( $i = 0; $i < count( $bt ); $i++ ) { |
— | — | @@ -960,6 +961,7 @@ |
961 | 962 | * @deprecated Please return control the caller or throw an exception |
962 | 963 | */ |
963 | 964 | function wfErrorExit() { |
| 965 | + wfDeprecated( __FUNCTION__ ); |
964 | 966 | wfAbruptExit( true ); |
965 | 967 | } |
966 | 968 | |
Index: trunk/phase3/includes/Exception.php |
— | — | @@ -388,7 +388,7 @@ |
389 | 389 | |
390 | 390 | wfReportException( $e ); |
391 | 391 | |
392 | | - // Final cleanup, similar to wfErrorExit() |
| 392 | + // Final cleanup |
393 | 393 | if ( $wgFullyInitialised ) { |
394 | 394 | try { |
395 | 395 | wfLogProfilingData(); // uses $wgRequest, hence the $wgFullyInitialised condition |