|
@@ 248-254 (lines=7) @@
|
| 245 |
|
$group = $group->getName(); |
| 246 |
|
|
| 247 |
|
// User was added to group, need to display all manialinks of the group to this user |
| 248 |
|
if (isset($this->displayeds[$group])) { |
| 249 |
|
foreach ($this->displayeds[$group] as $mlId => $manialink) { |
| 250 |
|
$this->individualQueu[$loginAdded][$mlId] = $manialink; |
| 251 |
|
} |
| 252 |
|
} else { |
| 253 |
|
$this->console->writeln('player added to group, but group not found: $ff0'.$group); |
| 254 |
|
} |
| 255 |
|
} |
| 256 |
|
|
| 257 |
|
/** |
|
@@ 265-269 (lines=5) @@
|
| 262 |
|
$group = $group->getName(); |
| 263 |
|
|
| 264 |
|
// User was removed from group, need to hide all manialinks of the group to this user |
| 265 |
|
if (isset($this->displayeds[$group])) { |
| 266 |
|
foreach ($this->displayeds[$group] as $mlId => $manialink) { |
| 267 |
|
$this->hideIndividualQueu[$loginRemoved][$mlId] = $manialink; |
| 268 |
|
} |
| 269 |
|
} |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
/** |