<?php /** * *UPDATE STATISTICS * * Statistic_update.php * //this file updates the statistic table for all the teachers or creates a new line in the statistic * save the SID AND short_title AND expires DATE in the summary_teacher table . * have the SID short_title and expires Date as Primarykey * before writting a new line check whether already exists - or try and if it already exists there will be an error because of primary key * * Call statistics_update.php always before batchdeleteing surveys. Call before printing /displaying the survey * * @version $Id$ * @copyright 2003 */ //TODO GET FRAGEN NAME INTO TABLE TITEL require_once "evaluation.classes.php"; //mod_evaluation config for database configuration, already connects to db through admin/common.php require_once "statistics.class.php"; $newStat=new ModEvaluation_createStatistics(); $newStat->updateAllTeachers(); ?>