diff --git a/pkg/controller/photo/certification.go b/pkg/controller/photo/certification.go index ea9dad4..d7fecad 100644 --- a/pkg/controller/photo/certification.go +++ b/pkg/controller/photo/certification.go @@ -190,21 +190,6 @@ func Certification() http.HandlerFunc { log.Error("chat.MaybeDisconnectUser(%s#%d): %s", currentUser.Username, currentUser.ID, err) } - // Notify the admin email to check out this photo. - if cert.Status == models.CertificationPhotoPending { - if err := mail.Send(mail.Message{ - To: config.Current.AdminEmail, - Subject: "New Certification Photo Needs Approval", - Template: "email/certification_admin.html", - Data: map[string]interface{}{ - "User": currentUser, - "URL": config.Current.BaseURL + "/admin/photo/certification", - }, - }); err != nil { - log.Error("Certification: failed to notify admins of pending photo: %s", err) - } - } - // Log the change. Note the original IP and GeoIP insights - we once saw a spammer upload // their cert photo from Nigeria, and before we could reject it, they removed and reuploaded // it from New York using a VPN. If it wasn't seen in real time, this might have slipped by.