diff --git a/crates/db_schema/src/impls/site.rs b/crates/db_schema/src/impls/site.rs index 976ca06ed..090989b27 100644 --- a/crates/db_schema/src/impls/site.rs +++ b/crates/db_schema/src/impls/site.rs @@ -18,25 +18,6 @@ impl Crud for Site { type UpdateForm = SiteUpdateForm; type IdType = SiteId; - /*/// Use SiteView::read_local, or Site::read_from_apub_id instead - async fn read<'conn, 'pool: 'conn>( - _pool: &'pool mut DbPool<'_>, - _site_id: SiteId, - ) -> Result - where - diesel::helper_types::Limit< - ::PrimaryKey, Self::IdType>, - >>::Output, - >: diesel_async::methods::LoadQuery<'static, crate::utils::DbConn<'pool>, Self> - + Send - + 'static - + Sized, - 'async_trait: 'conn, - { - unimplemented!() - }*/ - async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Result { let is_new_site = match &form.actor_id { Some(id_) => Site::read_from_apub_id(pool, id_).await?.is_none(),