Przeglądaj źródła

Merge branch 'feature-delete-page' of github.com:crowi/crowi into feature-delete-page

Sotaro KARASAWA 10 lat temu
rodzic
commit
a9576763bf
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      lib/models/page.js

+ 4 - 0
lib/models/page.js

@@ -843,6 +843,10 @@ module.exports = function(crowi) {
     });
   };
 
+  pageSchema.statics.deletePage = function(pageData, options) {
+    var Page = this;
+  };
+
   pageSchema.statics.getHistories = function() {
     // TODO
     return;