From: Michael Orlitzky Date: Tue, 19 Mar 2013 15:42:09 +0000 (-0400) Subject: Fix table name (again) in DAViCal plugin. X-Git-Tag: 0.0.1~96 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=3dcc5a60e8592ea3b4018fc6d0376be7eb50e266;p=mailshears.git Fix table name (again) in DAViCal plugin. --- diff --git a/lib/mailshears/plugins/davical.rb b/lib/mailshears/plugins/davical.rb index 3f4861c..fae30d8 100644 --- a/lib/mailshears/plugins/davical.rb +++ b/lib/mailshears/plugins/davical.rb @@ -97,7 +97,7 @@ class DavicalDb @db_user, @db_pass) - sql_query = "SELECT principal_id FROM usr WHERE username = $1;" + sql_query = "SELECT principal_id FROM principal WHERE username = $1;" connection.query(sql_query, [account]) do |result| if result.num_tuples > 0