Fix issue when disabling/enabling plugins manually

I4100cd9df4ebfac87b2099ef2c916b99ef55c978 introduced two minor bugs with
the plugin loader.  Manually enabling a plugin by renaming it from
<name>.jar.disabled to <name>.jar caused it to show up twice on the
plugin list, once as disabled and once as enabled.  Manually disabling
a plugin by appending .disabled to the file name wasn't recognized at
all and no change took place in the backend to disable the plugin.

Both of these issues are now fixed.

Change-Id: I810a7f0f163fd22c8fb9324476c853c2cc04fcb2
Signed-off-by: Brad Larson <bklarson@gmail.com>
1 file changed