Index: trunk/extensions/CategoryTree/CategoryTree.php |
— | — | @@ -28,7 +28,8 @@ |
29 | 29 | * Abort if AJAX is not enabled |
30 | 30 | **/ |
31 | 31 | if ( !$wgUseAjax ) { |
32 | | - wfDebug( 'CategoryTree: Ajax is not enabled, aborting extension setup.' ); |
| 32 | + #NOTE: GlobalFunctions is not yet loaded, so use standard API only. |
| 33 | + trigger_error( 'CategoryTree: Ajax is not enabled, aborting extension setup.', E_USER_WARNING ); |
33 | 34 | return; |
34 | 35 | } |
35 | 36 | |