Skip to content

Commit

Permalink
chore: remove deprecated plugin wrapper (#53)
Browse files Browse the repository at this point in the history
### What this PR does?
移除对已过时的 PluginWrapper 的引用

see also halo-dev/halo#6243 for more details

```release-note
None
```
  • Loading branch information
guqing authored Jul 2, 2024
1 parent c6348bd commit d72671a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/run/halo/migrate/MigratePlugin.java
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
package run.halo.migrate;

import org.pf4j.PluginWrapper;
import org.springframework.stereotype.Component;
import run.halo.app.plugin.BasePlugin;
import run.halo.app.plugin.PluginContext;

/**
* @author guqing
* @since 2.0.0
*/
@Component
public class MigratePlugin extends BasePlugin {
public MigratePlugin(PluginWrapper wrapper) {
super(wrapper);

public MigratePlugin(PluginContext pluginContext) {
super(pluginContext);
}

@Override
public void start() {
}

@Override
public void stop() {
}
Expand Down

0 comments on commit d72671a

Please sign in to comment.