Skip to content
Snippets Groups Projects
Commit a5236542 authored by Tim Steiner's avatar Tim Steiner
Browse files

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
parent 82e5caa4
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment