From 135dcceafd644eca0390442ebd729501750de01c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 28 Apr 2015 00:02:11 +0200 Subject: [PATCH] Fixed class/module declaration. --- app/models/store/provider/db.rb | 2 +- app/models/store/provider/file.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/store/provider/db.rb b/app/models/store/provider/db.rb index 8832e690e..2cc739c58 100644 --- a/app/models/store/provider/db.rb +++ b/app/models/store/provider/db.rb @@ -1,7 +1,7 @@ # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ class Store - class Provider + module Provider class DB < ApplicationModel self.table_name = 'store_provider_dbs' diff --git a/app/models/store/provider/file.rb b/app/models/store/provider/file.rb index 731bf5186..928935f72 100644 --- a/app/models/store/provider/file.rb +++ b/app/models/store/provider/file.rb @@ -1,8 +1,8 @@ # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ class Store - class Provider - class File + module Provider + module File def self.add(data, sha) write_to_fs(data, sha)