r26259 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26258‎ | r26259 | r26260 >
Date:19:56, 30 September 2007
Author:daniel
Status:old
Tags:
Comment:
fixed bad permission name: view -> read
Modified paths:
  • /trunk/extensions/TalkHere/TalkHere.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TalkHere/TalkHere.php
@@ -74,7 +74,7 @@
7575 $tns = Namespace::getTalk($ns);
7676 $talk = Title::makeTitle($tns, $title->getDBKey());
7777
78 - if ($talk && $talk->userCan('view')) {
 78+ if ($talk && $talk->userCan('read')) {
7979 $t = clone $title;
8080 $t->noTalkHere = true; //stop recursion
8181

Status & tagging log