Parcourir la source

deleted extra swig function

sou il y a 7 ans
Parent
commit
abfad579dd
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  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);
     return Config.isEnabledAttachTitleHeader(config);
   };
   };
 
 
-  locals.templateExists = function() {
-    var config = crowi.getConfig();
-    return Config.templateExists(config);
-  };
-
   locals.parentPath = function(path) {
   locals.parentPath = function(path) {
     if (path == '/') {
     if (path == '/') {
       return path;
       return path;