Skip to content
Snippets Groups Projects
Unverified Commit f10524df authored by luap42's avatar luap42 Committed by GitHub
Browse files

Don't do it on the system user.

parent 08264c4f
Branches
Tags
No related merge requests found
......@@ -188,6 +188,7 @@ class User < ApplicationRecord
end
def send_welcome_tour_message
return if id == -1
create_notification('👋 Welcome to ' + SiteSetting['SiteName'] + '! Take our tour to find out ' \
'how this site works.', '/tour')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment