Root.deleteSite (site)
function removes a site completely including stories, comments, members

  • Parameter Object:
    site to remove
Sourcecode in Root/objectFunctions.js:
1:   function deleteSite(site) {
2:      site.deleteAll();
3:      site.remove();
4:      // add syslog-entry
5:      this.manage.syslogs.add(new SysLog("site", site.alias, "removed site", session.user));
6:      return new Message("siteDelete", site.alias);
7:   }