Method: Pawnee::Actions::User#destroy

Defined in:
lib/pawnee/pawnee/actions/user.rb

#destroyObject



168
169
170
171
172
173
# File 'lib/pawnee/pawnee/actions/user.rb', line 168

def destroy
  self.new_record = true
  base.as_root do
    base.exec("userdel #{}", :no_pty => true)
  end
end