1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where are warnings created in XenForo?

Discussion in 'XenForo Development Discussions' started by RastaLulz, Dec 9, 2011.

  1. RastaLulz

    RastaLulz Well-Known Member

    Does anyone know what function creates a warning in XenForo, and in what file? (y)
     
  2. James

    James Well-Known Member

    XenForo_Model_Warning
    XenForo_DataWriter_Warning

    The Model class issues the warning and writes it using the DW.

    The actual warning is issued using XenForo_ControllerPublic_Member->actionWarn()
     
    RastaLulz likes this.

Share This Page