Sfoglia il codice sorgente

Removed unnecessary code

Taichi Masuyama 4 anni fa
parent
commit
23911b4c5f
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      packages/app/src/server/routes/page.js

+ 0 - 2
packages/app/src/server/routes/page.js

@@ -300,7 +300,6 @@ module.exports = function(crowi, app) {
     }
     }
 
 
     if (page.isEmpty) {
     if (page.isEmpty) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       req.pagePath = page.path;
       return next();
       return next();
     }
     }
@@ -365,7 +364,6 @@ module.exports = function(crowi, app) {
 
 
     // empty page
     // empty page
     if (page.isEmpty) {
     if (page.isEmpty) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       req.pagePath = page.path;
       return next(); // to page.notFound
       return next(); // to page.notFound
     }
     }