From 55e1a7238bf279ef9727db40d0ff4874a5741f15 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 28 Nov 2017 14:13:58 +0100 Subject: [sysconfig] Don't delete default config... --- modules-available/sysconfig/hooks/cron.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available') diff --git a/modules-available/sysconfig/hooks/cron.inc.php b/modules-available/sysconfig/hooks/cron.inc.php index d2457685..b518ca06 100644 --- a/modules-available/sysconfig/hooks/cron.inc.php +++ b/modules-available/sysconfig/hooks/cron.inc.php @@ -5,4 +5,4 @@ Trigger::ldadp(); // 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"); + WHERE l.locationid IS NULL AND c.locationid <> 0"); -- cgit v1.2.3-55-g7522