Index: trunk/extensions/ActiveAbstract/AbstractFilter.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | * Register the filter function with the dump manager |
25 | 25 | * @param BackupDumper $dumper |
26 | 26 | */ |
27 | | - function register( &$dumper ) { |
| 27 | + static function register( &$dumper ) { |
28 | 28 | $dumper->registerFilter( 'abstract', 'AbstractFilter' ); |
29 | 29 | $dumper->registerFilter( 'noredirect', 'NoredirectFilter' ); |
30 | 30 | } |
Index: trunk/extensions/ActiveAbstract/GoogleCoopFilter.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | * @param BackupDumper $dumper |
45 | 45 | * @static |
46 | 46 | */ |
47 | | - function register( &$dumper ) { |
| 47 | + static function register( &$dumper ) { |
48 | 48 | $dumper->registerFilter( 'googlecoop', 'GoogleCoopFilter' ); |
49 | 49 | parent::register( $dumper ); |
50 | 50 | } |