Skip to content

Commit

Permalink
Import attachments
Browse files Browse the repository at this point in the history
Merge pull request #27 from MichaelBelgium/attachments
  • Loading branch information
MichaelBelgium authored May 19, 2022
2 parents 33941ed + 155fda0 commit 134081a
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 67 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ In your admin panel you can choose what to migrate.
* Posts
* Groups
* Avatars
* Attachments (requires fof/upload)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Illuminate\Contracts\View\Factory;
use Flarum\Extend\Console;
use Flarum\Extend\Locales;
use Flarum\Extend\Routes;
Expand All @@ -25,5 +24,6 @@
$config->BBCodes->addFromRepository('HR');
$config->BBCodes->addCustom('[size={CHOICE=large,small,xx-small,x-small,medium,x-large,xx-large}]{TEXT}[/size]','<span style="font-size:{CHOICE}">{TEXT}</span>');
}),

(new Console())->command(MybbToFlarumCommand::class)
];
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 134081a

Please sign in to comment.