Skip to content
Permalink
Browse files

mark registered addons as no longer selected to prevent double regist…

…ration
  • Loading branch information...
jreidinger committed Oct 11, 2017
1 parent a7a26cf commit bf69472281a069b0dd2cbc4f91c643e16bec7b8c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/lib/registration/addon.rb
@@ -255,6 +255,7 @@ def registered?
# mark the add-on as registered
def registered
Addon.registered << self unless registered?
unselected # if register then mark as no longer selected as register is different state
end

# just internally mark the addon as NOT registered, not a real unregistration

0 comments on commit bf69472

Please sign in to comment.
You can’t perform that action at this time.