Permalink
Browse files

Removed a dependency on a global config variable.

  • Loading branch information...
1 parent 8372be5 commit 9d33262af3125dd6cdbfd877aa6461377c390375 @eschnou committed Mar 1, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/ostatus/atom.js
View
3 lib/ostatus/atom.js
@@ -31,10 +31,9 @@ var Sys = require('sys'),
Path = require('path'),
Mu = require('mu');
-function render(updates, profile, callback) {
+function render(host, updates, profile, callback) {
Mu.compile('updates.xml.mu', function (err, parsed) {
if (err) return callback(err);
- var host = global.config.host;
var buffer = '';
var context = profile;
context.updates = updates;

0 comments on commit 9d33262

Please sign in to comment.