generated from mirzaev/pot
production mode
This commit is contained in:
parent
05a9a51a0d
commit
830ba25b8d
|
@ -175,7 +175,7 @@ final class interneturok extends core
|
||||||
if (!empty($accounts)) {
|
if (!empty($accounts)) {
|
||||||
// Initialized accounts
|
// Initialized accounts
|
||||||
|
|
||||||
/* if (shuffle($accounts)) { */
|
if (shuffle($accounts)) {
|
||||||
// Shuffled accounts
|
// Shuffled accounts
|
||||||
|
|
||||||
foreach ($accounts as $account) {
|
foreach ($accounts as $account) {
|
||||||
|
@ -319,7 +319,7 @@ final class interneturok extends core
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* } */
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exit (fail)
|
// Exit (fail)
|
||||||
|
@ -642,7 +642,8 @@ final class interneturok extends core
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this->browser->sendAsync($request)
|
return $this->browser->sendAsync($request)
|
||||||
->then(function ($response) use ($homework) {
|
->then(
|
||||||
|
function ($response) use ($homework) {
|
||||||
// Sended the request and received the response
|
// Sended the request and received the response
|
||||||
|
|
||||||
// Initializing the lesson
|
// Initializing the lesson
|
||||||
|
@ -833,7 +834,8 @@ final class interneturok extends core
|
||||||
// Exit (fail)
|
// Exit (fail)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exit (fail)
|
// Exit (fail)
|
||||||
|
|
|
@ -206,7 +206,7 @@ final class parser extends core
|
||||||
$parser = new interneturok();
|
$parser = new interneturok();
|
||||||
|
|
||||||
// Parsing homework files
|
// Parsing homework files
|
||||||
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 0);
|
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 3);
|
||||||
|
|
||||||
if (!empty($files)) {
|
if (!empty($files)) {
|
||||||
// Initialized homework files
|
// Initialized homework files
|
||||||
|
|
Loading…
Reference in New Issue