<?php
// Cleanup orphaned config<->location where the location has been deleted
Database::exec("DELETE c FROM configtgz_location c LEFT JOIN location l USING (locationid) WHERE l.locationid IS NULL AND c.locationid <> 0");// Refresh every once in a while (should roughly be once a day)if(mt_rand(0,300) ===0) {
Shib::refreshIdpSuffixMap();}