projects
/
mailshears.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7e5de74
)
Fix a SQL query in the AgendavMv plugin.
author
Michael Orlitzky
<michael@orlitzky.com>
Wed, 17 Sep 2014 15:56:09 +0000
(11:56 -0400)
committer
Michael Orlitzky
<michael@orlitzky.com>
Wed, 17 Sep 2014 15:56:09 +0000
(11:56 -0400)
lib/mv/plugins/agendav.rb
patch
|
blob
|
history
diff --git
a/lib/mv/plugins/agendav.rb
b/lib/mv/plugins/agendav.rb
index 112fa2ab52f307e6dcff9fbe3e65f93f213ed7d5..d5858c04c5ae360dff293bcec15f5d66cf26e7e7 100644
(file)
--- a/
lib/mv/plugins/agendav.rb
+++ b/
lib/mv/plugins/agendav.rb
@@
-14,7
+14,7
@@
class AgendavMv
end
def mv_user(from, to)
- sql_queries = ['UPDATE prefs SET username = $1 WHERE username $2;']
+ sql_queries = ['UPDATE prefs SET username = $1 WHERE username
=
$2;']
sql_queries << 'UPDATE shared SET user_from = $1 WHERE user_from = $2;'
sql_queries << 'UPDATE shared SET user_which = $1 WHERE user_which = $2;'