From a523654284272c9e04db799163c8672a2fdac60a Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Thu, 30 Sep 2010 21:47:09 +0000 Subject: [PATCH] Remove removed sites from the table of sites. git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@215 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/unl/cron.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sites/all/modules/unl/cron.php b/sites/all/modules/unl/cron.php index a60dae87..910e028e 100644 --- a/sites/all/modules/unl/cron.php +++ b/sites/all/modules/unl/cron.php @@ -32,8 +32,7 @@ while ($row = $query->fetchAssoc()) { ->condition('site_id', $row['site_id']) ->execute(); unl_remove_site($row['site_path'], $row['uri'], $row['db_prefix']); - db_update('unl_sites') - ->fields(array('installed' => 5)) + db_delete('unl_sites') ->condition('site_id', $row['site_id']) ->execute(); } -- GitLab