Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit f9224a53 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

style: code style

Übergeordneter 156f6e16
No related branches found
No related tags found
2 Merge Requests!22Update 'next-3.x' with latest changes from 'main',!21Next 2.x
Pipeline #11547 mit Warnungen bestanden mit Phase
in 9 Sekunden
......@@ -18,8 +18,6 @@ QUI::$Ajax->registerFunction(
$params = json_decode($params, true);
$Manager = new QUI\Cron\Manager();
$Manager->add($cron, $min, $hour, $day, $month, $dayOfWeek, $params);
},
['cron', 'min', 'hour', 'day', 'month', 'dayOfWeek', 'params'],
......
......@@ -12,7 +12,7 @@ QUI::$Ajax->registerFunction(
'package_quiqqer_cron_ajax_cron_toggle',
function ($cronId) {
$Manager = new QUI\Cron\Manager();
$data = $Manager->getCronById($cronId);
$data = $Manager->getCronById($cronId);
if (!$data) {
throw new QUI\Exception('Cron not exists', 404);
......
......@@ -9,7 +9,7 @@
QUI::$Ajax->registerFunction(
'package_quiqqer_cron_ajax_delete',
function ($ids) {
$ids = json_decode($ids, true);
$ids = json_decode($ids, true);
$Manager = new QUI\Cron\Manager();
$Manager->deleteCronIds($ids);
......
......@@ -11,11 +11,11 @@ QUI::$Ajax->registerFunction(
'package_quiqqer_cron_ajax_history_get',
function ($params) {
$CronManager = new QUI\Cron\Manager();
$params = json_decode($params, true);
$params = json_decode($params, true);
return [
'page' => (int)$params['page'],
'data' => $CronManager->getHistoryList($params),
'page' => (int)$params['page'],
'data' => $CronManager->getHistoryList($params),
'total' => $CronManager->getHistoryCount()
];
},
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren