• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revisión2463 (tree)
Tiempo2019-12-08 05:11:44
Autorumethyl

Log Message

Role::IsVoteNightCheckbox()

Cambiar Resumen

Diferencia incremental

--- trunk/include/role/role_class.php (revision 2462)
+++ trunk/include/role/role_class.php (revision 2463)
@@ -646,7 +646,7 @@
646646 return null;
647647 }
648648
649- //投票のチェックボックス取得
649+ //投票チェックボックス取得
650650 final public function GetVoteNightCheckbox(User $user, $id, $live) {
651651 if ($this->ExistsVoteMix()) {
652652 $name = __FUNCTION__;
@@ -653,7 +653,7 @@
653653 return $this->GetVoteMix()->$name($user, $id, $live);
654654 }
655655
656- if (false === $this->IsVoteCheckbox($user, $live)) {
656+ if (false === $this->IsVoteNightCheckbox($user, $live)) {
657657 return '';
658658 }
659659 $checked = HTML::GenerateChecked($this->IsVoteNightCheckboxChecked($user));
@@ -663,7 +663,7 @@
663663 }
664664
665665 //投票対象判定 (生死 / 本人 / 身代わり君 / 追加判定)
666- final protected function IsVoteCheckbox(User $user, $live) {
666+ final protected function IsVoteNightCheckbox(User $user, $live) {
667667 $is_live = $this->IsVoteNightCheckboxLive($live);
668668 $self = $this->DisableVoteNightCheckboxSelf() && $this->IsActor($user);
669669 $dummy = $this->DisableVoteNightCheckboxDummyBoy() && $user->IsDummyBoy();
Show on old repository browser