فهرست منبع

Removed unnecessary code

Taichi Masuyama 4 سال پیش
والد
کامیت
23911b4c5f
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       return next();
     }
@@ -365,7 +364,6 @@ module.exports = function(crowi, app) {
 
     // empty page
     if (page.isEmpty) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       return next(); // to page.notFound
     }