Skip to content

Commit

Permalink
Cronjob umbenennen
Browse files Browse the repository at this point in the history
  • Loading branch information
christophboecker authored Sep 14, 2024
1 parent a9c0227 commit c6974e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@
* -> rex_cronjob_neues_publish ändern in FriendsOfRedaxo\Neues\Cronjob\Publish.
*/
$sql->setTable(rex::getTable('cronjob'));
$sql->setValue('type', Publish::class);
$sql->setValue('type', 'FriendsOfRedaxo\\Neues\\Cronjob\\Publish');
$sql->setWhere('`type` = :class', [':class' => 'rex_cronjob_neues_publish']);
$sql->update();

/**
* Fehlenden CronJob eintragen.
*/
$sql->setTable(rex::getTable('cronjob'));
$sql->setWhere('`type` = :class', [':class' => Publish::class]);
$sql->setWhere('`type` = :class', [':class' => 'FriendsOfRedaxo\\Neues\\Cronjob\\Publish']);
$sql->select();

if (0 === $sql->getRows()) {
Expand Down

0 comments on commit c6974e6

Please sign in to comment.