aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/server.rb
diff options
context:
space:
mode:
authorAlex Young <alex@bytemark.co.uk>2015-04-13 19:11:24 +0100
committerAlex Young <alex@bytemark.co.uk>2015-04-13 19:11:24 +0100
commitb5cac76f5f062ddf4179a7220e5df2e655a4ac6a (patch)
tree17b5843dbb3d8ed83653263c5a1bce9977111a1b /lib/mauve/server.rb
parent1f1de026a35c3041df70076c21a8e4751891b1e7 (diff)
Fix syntax errors in lib/mauve/heartbeat.rb
Diffstat (limited to 'lib/mauve/server.rb')
-rw-r--r--lib/mauve/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mauve/server.rb b/lib/mauve/server.rb
index a212695..9745c28 100644
--- a/lib/mauve/server.rb
+++ b/lib/mauve/server.rb
@@ -163,6 +163,7 @@ module Mauve
#
DataMapper::Model.descendants.each do |m|
next if m == AlertEarliestDate
+ c = m.to_s.split("::").last
next unless m.respond_to?("auto_upgrade!")
m.auto_upgrade!
#