fixes #1597, create mod action for user deletions

This commit is contained in:
r888888888
2013-05-24 14:25:27 -07:00
parent 677d6c11a5
commit 25673465d5
3 changed files with 6 additions and 8 deletions

View File

@@ -14,9 +14,15 @@ class UserDeletion
remove_favorites
rename
reset_password
create_mod_action
end
private
def create_mod_action
ModAction.create(:description => "user ##{user.id} deleted")
end
def clear_user_settings
user.email = nil

View File

@@ -1,5 +0,0 @@
<div class="clearfix"></div>
<div id="nav-help" class="ui-corner-all nav-notice">
<p class="hint">Press <span class="key">&larr;</span> or <span class="key">&rarr;</span> to navigate pages [<%= link_to "close", "#", :id => "close-nav-help-link" %>]</p>
</div>

View File

@@ -1,3 +0,0 @@
<div id="nav-help" class="ui-corner-all nav-notice">
<p class="hint">Press <span class="key">&larr;</span> or <span class="key">&rarr;</span> to navigate posts and <span class="key">space</span> to scroll <span class="close-button ui-icon ui-icon-closethick" id="close-nav-help-link"></span></p>
</div>