Skip to content

Commit

Permalink
fix worker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanashi committed Oct 22, 2024
1 parent 05cfa97 commit 0cba12e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
use wcf\data\discord\bot\DiscordBotList;
use wcf\data\file\FileEditor;

final class DiscordWebhookAvatarRebuildDataWorker extends AbstractRebuildDataWorker
final class DiscordWebhookAvatarRebuildDataWorker extends AbstractLinearRebuildDataWorker
{
/**
* @inheritDoc
*/
protected $objectListClassName = DiscordBotList::class;

/**
* @inheritDoc
*/
protected $limit = 100;

#[Override]
public function execute()
{
Expand Down
9 changes: 3 additions & 6 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<packagename language="de">Discord-API</packagename>
<packagedescription>API to cummincate with Discord.</packagedescription>
<packagedescription language="de">API um mit Discord zu kommunizieren.</packagedescription>
<version>2.7.1</version>
<date>2024-10-11</date>
<version>2.7.2</version>
<date>2024-10-22</date>
<license>https://creativecommons.org/publicdomain/zero/1.0/deed.en</license>
</packageinformation>
<authorinformation>
Expand All @@ -33,11 +33,8 @@
<instruction type="option"/>
<instruction type="database">acp/database/install_dev.hanashi.wsc.discord-api.php</instruction>
</instructions>
<instructions type="update" fromversion="2.7.0">
<instructions type="update" fromversion="2.7.1">
<instruction type="file"/>
<instruction type="language"/>
<instruction type="objectType"/>
<instruction type="database">acp/database/install_dev.hanashi.wsc.discord-api.php</instruction>
</instructions>
<instructions type="update" fromversion="2.6.*">
<instruction type="file"/>
Expand Down

0 comments on commit 0cba12e

Please sign in to comment.