mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
DEV: Don't return navigation item from addNavigationBarItem
No plugin or theme that I could find used the return value. Not providing this to plugins affords us leeway to change the internals.
This commit is contained in:
parent
58b5d1434b
commit
13c5381027
@ -785,7 +785,7 @@ class PluginApi {
|
||||
};
|
||||
}
|
||||
|
||||
return addNavItem(item);
|
||||
addNavItem(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user