public function __construct() { parent::__construct(); }
/** * Maintenance::resetpireproute() * * @return */ public function resetpireproute() { CodonModule::checkPermission(MAINTENANCE); echo '<h3>Reset cached PIREP routes</h3> Resetting... <br />'; PIREPData::deleteAllRouteDetails(); echo 'Completed!'; LogData::addLog(Auth::$userinfo->pilotid, 'Reset cached pirep route details'); }