Skip to content

Commit

Permalink
Add optional parameter for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Sep 9, 2013
1 parent 275bd82 commit e02a68d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/exporter.rb
Expand Up @@ -29,7 +29,8 @@ class SessionStub
attr_accessor :language, :flavor, :lookandfeel
alias :default_language :language
end
def initialize(app)
# options parameter is needed to be compatible with calls via update_notify_simple
def initialize(app, options=nil)
@app = app
end
def run
Expand Down

0 comments on commit e02a68d

Please sign in to comment.