mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Call unregisterCommand instead of registerCommand (#4596)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ public class ConsoleSupportKaraf {
|
|||||||
*/
|
*/
|
||||||
private void unregisterCommands() {
|
private void unregisterCommands() {
|
||||||
for (final ConsoleCommandExtension command : commands) {
|
for (final ConsoleCommandExtension command : commands) {
|
||||||
registerCommand(command);
|
unregisterCommand(command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user