Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:3261:    // Then all configurations and modules.    foreach(configurations, Configuration conf) {    clean_error_log(conf->error_log, cutoffs);       foreach(indices(conf->otomod), RoxenModule mod) {    clean_error_log(mod->error_log, cutoffs);    }    }   }    + RoxenPatch.Patcher plib = +  RoxenPatch.Patcher(report_notice, report_error, getcwd(), getenv("LOCALDIR")); +    protected void hourly_maintenance()   {    error_log_cleaner(); -  +  +  if (query("auto_fetch_rxps")) { +  plib->import_file_http();    } -  + }      protected void start_hourly_maintenance()   {    if (hourly_maintenance_process) return;       // Start a background process that performs maintenance tasks every hour    // (eg cleaning the error log).    hourly_maintenance_process = BackgroundProcess(3600, hourly_maintenance);   }