| Index: trunk/phase3/skins/Vector.php |
| — | — | @@ -73,7 +73,7 @@ |
| 74 | 74 | $action = $wgRequest->getVal( 'action', 'view' ); |
| 75 | 75 | $section = $wgRequest->getVal( 'section' ); |
| 76 | 76 | |
| 77 | | - $userCanRead = $this->mTitle->quickUserCan( 'read' ); |
| | 77 | + $userCanRead = $this->mTitle->userCanRead(); |
| 78 | 78 | |
| 79 | 79 | // Checks if page is some kind of content |
| 80 | 80 | if( $this->iscontent ) { |
| Index: trunk/phase3/includes/SkinTemplate.php |
| — | — | @@ -728,7 +728,7 @@ |
| 729 | 729 | $action = $wgRequest->getVal( 'action', 'view' ); |
| 730 | 730 | $section = $wgRequest->getVal( 'section' ); |
| 731 | 731 | $content_actions = array(); |
| 732 | | - $userCanRead = $this->mTitle->quickUserCan( 'read' ); |
| | 732 | + $userCanRead = $this->mTitle->userCanRead(); |
| 733 | 733 | |
| 734 | 734 | $prevent_active_tabs = false; |
| 735 | 735 | wfRunHooks( 'SkinTemplatePreventOtherActiveTabs', array( &$this, &$prevent_active_tabs ) ); |