Revision 0dc421ea src/authm_mad/quota.rb

View differences:

src/authm_mad/quota.rb
68 68
        }
69 69

  
70 70
        quotas=@table.filter(:uid => uid)
71
        pp quotas.first
71 72
        
72 73
        if quotas.first
74
            STDERR.puts "updating"
73 75
            quotas.update(data)
74 76
        else
77
            STDERR.puts "inserting"
75 78
            @table.insert(data.merge!(:uid => uid))
76 79
        end
77 80
    end

Also available in: Unified diff