ソースを参照

deleted extra swig function

sou 8 年 前
コミット
abfad579dd
1 ファイル変更0 行追加5 行削除
  1. 0 5
      lib/util/swigFunctions.js

+ 0 - 5
lib/util/swigFunctions.js

@@ -180,11 +180,6 @@ module.exports = function(crowi, app, req, locals) {
     return Config.isEnabledAttachTitleHeader(config);
   };
 
-  locals.templateExists = function() {
-    var config = crowi.getConfig();
-    return Config.templateExists(config);
-  };
-
   locals.parentPath = function(path) {
     if (path == '/') {
       return path;