• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2750 (tree)
Zeit2021-06-20 21:50:33
Autorumethyl

Log Message

「募集停止」オプション:表示タイミング調整

Ändern Zusammenfassung

Diff

--- trunk/include/option/close_room.php (revision 2749)
+++ trunk/include/option/close_room.php (revision 2750)
@@ -3,10 +3,6 @@
33 ◆募集停止 (close_room)
44 */
55 class Option_close_room extends OptionCheckbox {
6- protected function Ingore() {
7- return false === RoomOptionManager::IsChange();
8- }
9-
106 protected function LoadValue() {
117 if (DB::ExistsRoom()) {
128 $this->value = DB::$ROOM->IsClosing();
@@ -13,6 +9,12 @@
139 }
1410 }
1511
12+ protected function FilterEnable() {
13+ if (false === RoomOptionManager::IsChange()) {
14+ $this->enable = false;
15+ }
16+ }
17+
1618 public function GetCaption() {
1719 return '募集停止';
1820 }
Show on old repository browser