Fixed the patcher.
This commit is contained in:
parent
bf851bd9fc
commit
a278170766
|
@ -190,7 +190,6 @@ func patch4(scanner *bufio.Scanner) error {
|
||||||
"routePanelDebug": "panel.Debug",
|
"routePanelDebug": "panel.Debug",
|
||||||
"routePanelAnalyticsViews": "panel.AnalyticsViews",
|
"routePanelAnalyticsViews": "panel.AnalyticsViews",
|
||||||
"routePanelAnalyticsRouteViews": "panel.AnalyticsRouteViews",
|
"routePanelAnalyticsRouteViews": "panel.AnalyticsRouteViews",
|
||||||
"routePanelAnalyticsRouteViews": "panel.AnalyticsRouteViews",
|
|
||||||
"routePanelAnalyticsAgentViews": "panel.AnalyticsAgentViews",
|
"routePanelAnalyticsAgentViews": "panel.AnalyticsAgentViews",
|
||||||
"routePanelAnalyticsForumViews": "panel.AnalyticsForumViews",
|
"routePanelAnalyticsForumViews": "panel.AnalyticsForumViews",
|
||||||
"routePanelAnalyticsSystemViews": "panel.AnalyticsSystemViews",
|
"routePanelAnalyticsSystemViews": "panel.AnalyticsSystemViews",
|
||||||
|
@ -218,7 +217,7 @@ func patch4(scanner *bufio.Scanner) error {
|
||||||
"routePanelForumsEditPermsAdvanceSubmit": "panel.ForumsEditPermsAdvanceSubmit",
|
"routePanelForumsEditPermsAdvanceSubmit": "panel.ForumsEditPermsAdvanceSubmit",
|
||||||
"routePanelBackups": "panel.Backups",
|
"routePanelBackups": "panel.Backups",
|
||||||
}
|
}
|
||||||
err = renameRoutes(routes)
|
err := renameRoutes(routes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -256,7 +255,7 @@ func patch5(scanner *bufio.Scanner) error {
|
||||||
"routes.AccountEditCritical": "routes.AccountEditPassword",
|
"routes.AccountEditCritical": "routes.AccountEditPassword",
|
||||||
"routes.AccountEditCriticalSubmit": "routes.AccountEditPasswordSubmit",
|
"routes.AccountEditCriticalSubmit": "routes.AccountEditPasswordSubmit",
|
||||||
}
|
}
|
||||||
err = renameRoutes(routes)
|
err := renameRoutes(routes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -349,7 +348,7 @@ func patch8(scanner *bufio.Scanner) error {
|
||||||
"routePanelGroupsEditSubmit":"panel.GroupsEditSubmit",
|
"routePanelGroupsEditSubmit":"panel.GroupsEditSubmit",
|
||||||
"routePanelGroupsEditPermsSubmit":"panel.GroupsEditPermsSubmit",
|
"routePanelGroupsEditPermsSubmit":"panel.GroupsEditPermsSubmit",
|
||||||
"routePanelGroupsCreateSubmit":"panel.GroupsCreateSubmit",
|
"routePanelGroupsCreateSubmit":"panel.GroupsCreateSubmit",
|
||||||
"routePanelThemes","panel.Themes",
|
"routePanelThemes":"panel.Themes",
|
||||||
"routePanelThemesSetDefault":"panel.ThemesSetDefault",
|
"routePanelThemesSetDefault":"panel.ThemesSetDefault",
|
||||||
"routePanelThemesMenus":"panel.ThemesMenus",
|
"routePanelThemesMenus":"panel.ThemesMenus",
|
||||||
"routePanelThemesMenusEdit":"panel.ThemesMenusEdit",
|
"routePanelThemesMenusEdit":"panel.ThemesMenusEdit",
|
||||||
|
|
Loading…
Reference in New Issue