PMA\libraries\ErrorHandler::hasErrorsForPrompt PHP Method

hasErrorsForPrompt() public method

Needed because user warnings raised are also collected by global error handler. This distinguishes between the actual errors and user errors raised to warn user.
public hasErrorsForPrompt ( ) : boolean
return boolean true if there are errors to be "prompted", false otherwise
    public function hasErrorsForPrompt()
    {
        return $GLOBALS['cfg']['SendErrorReports'] != 'never' && $this->countErrors() != $this->countUserErrors();
    }