Missing return at end of function.  If no reload was needed, you don't return a value !