Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
kraity authored Jul 12, 2021
1 parent e50ded1 commit 425a039
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public static function activate()
Helper::addAction('dynamics', 'Dynamics_Action');
Helper::addRoute('dynamics-index', Dynamics_Plugin::DYNAMICS_ROUTE, 'Dynamics_Archive', 'index');
Helper::addRoute('dynamics-route', Dynamics_Plugin::DYNAMICS_ROUTE . "[slug].html", 'Dynamics_Archive', 'dispatch');
Helper::addRoute('dynamics-route', Dynamics_Plugin::DYNAMICS_ROUTE . "[slug].html", 'Dynamics_Archive', 'dispatch');

return _t('动态插件已经激活');
}
Expand Down

0 comments on commit 425a039

Please sign in to comment.