private function destroyAllSpaces()
 {
     PhabricatorSpacesNamespaceQuery::destroySpacesCache();
     $spaces = $this->loadAllSpaces();
     foreach ($spaces as $space) {
         $engine = new PhabricatorDestructionEngine();
         $engine->destroyObject($space);
     }
 }