kernel/classes/ezaudit.php
static function fetchAuditEnabled()
    {
        $ini = eZINI::instance( 'audit.ini' );
        $auditEnabled = $ini->hasVariable( 'AuditSettings', 'Audit' )
                      ? $ini->variable( 'AuditSettings', 'Audit' )
                      : 'disabled';
        $enabled = $auditEnabled == 'enabled';
        return $enabled;
    }
static function fetchAuditEnabled()
    {
        $ini = eZINI::instance( 'audit.ini' );
        $auditEnabled = $ini->hasVariable( 'AuditSettings', 'Audit' )
                      ? $ini->variable( 'AuditSettings', 'Audit' )
                      : 'disabled';
        $enabled = $auditEnabled == 'enabled';
        return $enabled;
    }
static function fetchAuditEnabled ( ) { $ ini = eZINI :: instance ( 'audit.ini' ) ; $ auditEnabled = $ ini -> hasVariable ( 'AuditSettings' , 'Audit' ) ? $ ini -> variable ( 'AuditSettings' , 'Audit' ) : 'disabled' ; $ enabled = $ auditEnabled == 'enabled' ; return $ enabled ; }
Returns true if audit should be enabled.
Will fetch from ini setting.

@return bool
Returns true if audit should be enabled . Will fetch from ini setting .