luci-proto-modemmanager: delete removed error codes
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 17 Aug 2023 13:19:11 +0000 (15:19 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 17 Aug 2023 13:26:10 +0000 (15:26 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js

index 083f8806dab557883720c3adf7515995d21a6b9b..12da5bf4b4c1d1ff0ea81485bf1c8eb8d75e4d3d 100644 (file)
@@ -6,10 +6,7 @@
 
 network.registerPatternVirtual(/^mobiledata-.+$/);
 network.registerErrorCode('MM_CONNECT_FAILED', _('Connection attempt failed.'));
-network.registerErrorCode('MM_DISCONNECT_IN_PROGRESS', _('Modem disconnection in progress. Please wait.'));
 network.registerErrorCode('MM_CONNECT_IN_PROGRESS', _('Modem connection in progress. Please wait. This process will timeout after 2 minutes.'));
-network.registerErrorCode('MM_TEARDOWN_IN_PROGRESS', _('Modem bearer teardown in progress.'));
-network.registerErrorCode('MM_MODEM_DISABLED', _('Modem is disabled.'));
 network.registerErrorCode('DEVICE_NOT_MANAGED', _('Device not managed by ModemManager.'));
 network.registerErrorCode('INVALID_BEARER_LIST', _('Invalid bearer list. Possibly too many bearers created.  This protocol supports one and only one bearer.'));
 network.registerErrorCode('UNKNOWN_METHOD', _('Unknown and unsupported connection method.'));