lib/tr8n/config.rb in tr8n-3.1.7 vs lib/tr8n/config.rb in tr8n-3.1.8
- old
+ new
@@ -98,11 +98,11 @@
Tr8n::TranslationSource, Tr8n::TranslationDomain, Tr8n::TranslationSourceLanguage,
Tr8n::Translation, Tr8n::TranslationVote,
Tr8n::Translator, Tr8n::TranslatorLog, Tr8n::TranslatorMetric,
Tr8n::TranslatorFollowing, Tr8n::TranslatorReport,
Tr8n::LanguageForumTopic, Tr8n::LanguageForumMessage, Tr8n::LanguageForumAbuseReport,
- Tr8n::Glossary, Tr8n::IpLocation
+ Tr8n::Glossary, Tr8n::IpLocation, Tr8n::SyncLog
]
end
# will clean all tables and initialize default values
# never ever do it on live !!!
@@ -761,14 +761,19 @@
def self.synchronization_secret
synchronization[:secret]
end
- def self.synchronization_create_rules?
- synchronization[:create_rules]
- end
-
def self.synchronization_all_languages?
synchronization[:all_languages]
end
+
+ def self.synchronization_push_enabled?
+ synchronization[:enable_push]
+ end
+
+ def self.synchronization_push_servers
+ synchronization[:push_servers]
+ end
+
end
end
\ No newline at end of file