Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
Fix function trigger error
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleJake authored Jun 14, 2021
1 parent 2040273 commit 79db40a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ class Hitokoto_Plugin implements Typecho_Plugin_Interface
*
* @return void
*/
public static function activate()
{
Typecho_Plugin::factory('Widget_Archive')->beforeRender = array('Hitokoto_Plugin');
}
public static function activate(){}

/**
* 禁用插件方法,如果禁用失败,直接抛出异常
Expand Down

0 comments on commit 79db40a

Please sign in to comment.