Uses inline if

This commit is contained in:
erwanlr
2015-01-26 18:19:49 +01:00
parent 093598ac99
commit b2d1c25b8e

View File

@@ -71,9 +71,7 @@ class WpTarget < WebSite
# Let's check if the login url is redirected (to https url for example) # Let's check if the login url is redirected (to https url for example)
redirection = redirection(url) redirection = redirection(url)
if redirection url = redirection if redirection
url = redirection
end
url url
end end