ftimme
2011-09-19 4ffb51e51f89a45256836fb55ad1c29f5e06beb2
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']);
        }
   }
}