Lack of interest CLI command to rebuild attachment thumbnails

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Jake B.

Well-known member
PHP:
<?php

namespace XF\Cli\Command\Rebuild;

class RebuildAttachmentThumb extends AbstractRebuildCommand
{
    protected function getRebuildName()
    {
        return 'attachment-thumbnails';
    }

    protected function getRebuildDescription()
    {
        return 'Rebuilds attachment thumbnails.';
    }

    protected function getRebuildClass()
    {
        return 'XF:AttachmentThumb';
    }
}
 
Upvote 6
This suggestion has been closed. Votes are no longer accepted.
I would like a new rebuild action with the cmd.php:
xf-rebuild:attachments

So I can rebuild my attachment thumbnails. We have a LOT of attachments and runnig that in the admin gui would probably take days...
 
Top Bottom