Skip to content
Snippets Groups Projects
Commit ee84fbc9 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

wip

parent 9058d634
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ module Communication::Website::WithConnections
def clean_connections!
start = Time.now
connect self
connections.where('updated_at < ?', start).destroy_all
connect self, self
# connections.where('updated_at < ?', start).destroy_all
end
def connect(object, source = nil)
......
......@@ -95,6 +95,16 @@ en:
name: Name
parent: Parent category
slug: Slug
communication/website/connection:
id: Identifier
object: Object
object_type: Object type
object_id: Object identifier
others: Other connections
source: Source
source_type: Source type
source_id: Source identifier
updated_at: Updated at
communication/website/imported/category:
original: Original
communication/website/imported/medium:
......
......@@ -95,6 +95,16 @@ fr:
name: Nom
parent: Catégorie parente
slug: Slug
communication/website/connection:
id: Identifiant
object: Objet
object_type: Type de l'objet
object_id: Identifiant de l'objet
others: Autres connexions
source: Source
source_type: Type de la source
source_id: Identifiant de la source
updated_at: Date de mise à jour
communication/website/imported/category:
original: Original
communication/website/imported/medium:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment