This commit is contained in:
rsgrinko committed 2022-07-14 22:48:41 +03:00
1 parent 72393d9e17
commit eea32115af
2 files changed
+13 -3

No files matched your search

+11 -1
View File
@@ -383,10 +383,20 @@
* @return void
* @throws CoreException
*/
public function clearThreads():void
public function clearThreads(): void
{
$this->DB->query('DELETE FROM ' . self::TABLE);
}
/**
* Очистка истории очереди
*
* @return void
* @throws CoreException
*/
public function clearThreadsHistory(): void
{
$this->DB->query('DELETE FROM ' . self::TABLE_HISTORY);
}
/**
+2 -2
View File
@@ -4,5 +4,5 @@
require_once $_SERVER['DOCUMENT_ROOT'] . '/core/bootstrap.php';
print_r($_REQUEST);
print_r($_SERVER);
/*use Core\MQTasks;
echo MQTasks::sendJokeToTelegram();*/
use Core\MQTasks;
echo MQTasks::sendJokeToTelegram();