fixes #1597, create mod action for user deletions
This commit is contained in:
@@ -14,9 +14,15 @@ class UserDeletion
|
|||||||
remove_favorites
|
remove_favorites
|
||||||
rename
|
rename
|
||||||
reset_password
|
reset_password
|
||||||
|
create_mod_action
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def create_mod_action
|
||||||
|
ModAction.create(:description => "user ##{user.id} deleted")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
def clear_user_settings
|
def clear_user_settings
|
||||||
user.email = nil
|
user.email = nil
|
||||||
|
|||||||
@@ -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">←</span> or <span class="key">→</span> to navigate pages [<%= link_to "close", "#", :id => "close-nav-help-link" %>]</p>
|
|
||||||
</div>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<div id="nav-help" class="ui-corner-all nav-notice">
|
|
||||||
<p class="hint">Press <span class="key">←</span> or <span class="key">→</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>
|
|
||||||
Reference in New Issue
Block a user