ftimme
2011-09-26 f8cd03b2feb5cbcda9b61811feb8cc26017c01ee
interface/web/sites/web_domain_del.php
@@ -72,6 +72,12 @@
      foreach($records as $rec) {
         $app->db->datalogDelete('shell_user','shell_user_id',$rec['shell_user_id']);
      }
        // Delete all records that belog to this zone.
        $records = $app->db->queryAllRecords("SELECT id FROM cron WHERE parent_domain_id = '".intval($this->id)."'");
        foreach($records as $rec) {
            $app->db->datalogDelete('cron','id',$rec['id']);
        }
   }
}