1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix triple-typo ... this should fix the permissions

This commit is contained in:
Maximilian Mader 2013-09-06 16:16:55 +02:00
parent d99d631527
commit 577c3fc25a
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class MessageLogDownloadPage extends \wcf\page\AbstractPage {
* @see \wcf\page\AbstractPage::$neededPermissions
*/
public $neededPermissions = array(
'admin.char.canReadLog'
'admin.chat.canReadLog'
);
public $useTemplate = false;

View File

@ -21,7 +21,7 @@ class MessageLogPage extends \wcf\page\AbstractPage {
* @see \wcf\page\AbstractPage::$neededPermissions
*/
public $neededPermissions = array(
'admin.char.canReadLog'
'admin.chat.canReadLog'
);
/**

View File

@ -186,7 +186,7 @@ public function getMessages() {
*/
public function validateGetMessages() {
// check permissions
WCF::getSession()->checkPermissions(array('admin.char.canReadLog'));
WCF::getSession()->checkPermissions(array('admin.chat.canReadLog'));
// read parameters
$this->readInteger('roomID');