 
 
 (defn find-lang-by-code [#^String code]
-  (if-let [lang (.getByCode (get-i18n-support) code)]
+  (if-let [lang (.getByCode (i18n-support) code)]
     lang
     (throw (Exception. (format "Language with code [%s] can not be found." code)))))
 



(defn print-conf []
  (dump (conf)))
  (:import
    [imcode.server Imcms]
    [imcode.server.document DocumentDomainObject]
    [imcode.server.user UserDomainObject])
  (:use
    [com.imcode.imcms.misc-utils :only [dump]]))

(defmacro invoke
  "Invokes Imcms class static method."
