Hi!

I'm trying to clean up one of my databases a little and wrote a script 
that looks for orphaned parameters roughly like that:

foreach ($parameters as $id => empty)
{
     $parentguid = $mc->get_subkey($id, $field)
     if (!mgd_is_guid($parentguid))
     {
          echo "Orphan found";
     }
}

This tells me that there are over 6000 orphans of 15000 total 
parameters. When I delete them all, the site continues to work normally, 
so I assume they were really orphans. So I was wondering if there might 
be some bug: Normally they should get deleted when the parent object is 
deleted, right?


Bye,

Andreas
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to