Yes, It's easier. But most of time user will not delete the last admin, but we always check this, it would wast most computer resource.
On Tue, Oct 20, 2009 at 12:53 AM, Richard Hirsch <[email protected]>wrote: > wouldn't it be easier to just remove the "delete" link when there is > only one admin left? > > On Mon, Oct 19, 2009 at 5:32 PM, Xuefeng Wu <[email protected]> wrote: > > I mean that give user a kindly warning message after he/she do wrong > better > > than disable the function. > > > > > > On Mon, Oct 19, 2009 at 11:30 PM, Xuefeng Wu <[email protected]> wrote: > > > >> I think maybe it's better that we wrap the Exception after error cause, > but > >> not always check before user do. > >> > >> > >> On Mon, Oct 19, 2009 at 5:37 PM, Richard Hirsch <[email protected] > >wrote: > >> > >>> I committed everything (thanks) but I added a comment about deleting > >>> the last admin user. > >>> > >>> D. > >>> > >> > >> > >> > >> -- > >> Scala中文社区: http://groups.google.com/group/scalacn > >> > > > > > > > > -- > > Scala中文社区: http://groups.google.com/group/scalacn > > > -- Scala中文社区: http://groups.google.com/group/scalacn
