Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -707,16 +707,15 @@ |
708 | 708 | } |
709 | 709 | |
710 | 710 | /* hook can return false, if we don't want the message to be emitted (Wikia BugId:7093) */ |
711 | | - if ( !wfRunHooks( 'LogEventsListShowLogExtract', array( &$s, $types, $page, $user, $param ) ) ) { |
712 | | - return $pager->getNumRows(); |
| 711 | + if ( wfRunHooks( 'LogEventsListShowLogExtract', array( &$s, $types, $page, $user, $param ) ) ) { |
| 712 | + // $out can be either an OutputPage object or a String-by-reference |
| 713 | + if ( $out instanceof OutputPage ){ |
| 714 | + $out->addHTML( $s ); |
| 715 | + } else { |
| 716 | + $out = $s; |
| 717 | + } |
713 | 718 | } |
714 | 719 | |
715 | | - // $out can be either an OutputPage object or a String-by-reference |
716 | | - if( $out instanceof OutputPage ){ |
717 | | - $out->addHTML( $s ); |
718 | | - } else { |
719 | | - $out = $s; |
720 | | - } |
721 | 720 | return $pager->getNumRows(); |
722 | 721 | } |
723 | 722 | |