• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2410 (tree)
Time2019-11-04 08:39:20
Authorumethyl

Log Message

Role::SetStackVoteKillEtc()

Change Summary

Incremental Difference

--- trunk/include/role/authority.php (revision 2409)
+++ trunk/include/role/authority.php (revision 2410)
@@ -11,6 +11,11 @@
1111 return RoleStackVoteKill::ETC;
1212 }
1313
14+ protected function SetStackVoteKillEtc($uname) {
15+ $this->SetStack($this->GetUname());
16+ $this->SetStack($uname, $this->role . '_uname');
17+ }
18+
1419 //投票数補正処理
1520 final public function FilterVoteDo() {
1621 if ($this->CallParent('IgnoreFilterVoteDo')) {
@@ -43,9 +48,4 @@
4348
4449 //投票数補正通知
4550 protected function NoticeFilterVoteDo() {}
46-
47- protected function SetStackVoteKillEtc($uname) {
48- $this->SetStack($this->GetUname());
49- $this->SetStack($uname, $this->role . '_uname');
50- }
5151 }
Show on old repository browser