Permalink
Browse files

Remove filter priorities (use default hooker's)

  • Loading branch information...
1 parent 927a9f9 commit b67a2bc8ca3b021818e22b1c01f76c306d9b0cea @ixti ixti committed Mar 29, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 server/forum/index.js
  2. +2 −2 server/forum/section/show.js
  3. +2 −2 server/forum/thread/show.js
View
@@ -6,7 +6,7 @@ module.exports = function (params, next) {
};
-nodeca.filters.before('@', 100, function (params, next) {
+nodeca.filters.before('@', function (params, next) {
var data = this.response.data;
nodeca.models.forum.section.find({}, function (err, sections) {
@@ -6,7 +6,7 @@ module.exports = function (params, next) {
};
-nodeca.filters.before('@', 100, function (params, next) {
+nodeca.filters.before('@', function (params, next) {
var data = this.response.data;
nodeca.models.forum.section.findOne({id: params.id}, function (err, section) {
@@ -15,7 +15,7 @@ nodeca.filters.before('@', 100, function (params, next) {
});
});
-nodeca.filters.before('@', 100, function (params, next) {
+nodeca.filters.before('@', function (params, next) {
var data = this.response.data;
nodeca.models.forum.thread.find({forum_id: params.id}, function (err, threads) {
@@ -6,7 +6,7 @@ module.exports = function (params, next) {
};
-nodeca.filters.before('@', 100, function (params, next) {
+nodeca.filters.before('@', function (params, next) {
var data = this.response.data;
nodeca.models.forum.thread.findOne({id: params.id}, function (err, thread) {
@@ -16,7 +16,7 @@ nodeca.filters.before('@', 100, function (params, next) {
});
-nodeca.filters.before('@', 100, function (params, next) {
+nodeca.filters.before('@', function (params, next) {
var data = this.response.data;
nodeca.models.forum.post.find({thread: data.thread._id}, function (err, posts) {

0 comments on commit b67a2bc

Please sign in to comment.