added permission
This commit is contained in:
committed by
Steffen Schröder
parent
d46c754d27
commit
d9af2805cd
@ -139,7 +139,9 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$quad->setHAlign(Control::RIGHT);
|
||||
$quad->setSize(29, 4);
|
||||
$quad->setAction(self::ACTION_CLEAR_MAPQUEUE);
|
||||
}
|
||||
|
||||
if ($this->maniaControl->authenticationManager->checkPermission($player, MapManager::SETTING_PERMISSION_CHECK_UPDATE)) {
|
||||
//Check Update
|
||||
$label = new Label_Button();
|
||||
$frame->add($label);
|
||||
@ -166,7 +168,6 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$mxQuad->setAction(self::ACTION_CHECK_UPDATE);
|
||||
}
|
||||
|
||||
|
||||
// Headline
|
||||
$headFrame = new Frame();
|
||||
$frame->add($headFrame);
|
||||
|
Reference in New Issue
Block a user