summaryrefslogblamecommitdiffstats
path: root/modules-available/sysconfig/hooks/cron.inc.php
blob: b959060d5945599746f1362bb86089235e83ff19 (plain) (tree)
1
2
3
4
5
6

     


                                                                         
                                                                           
<?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");