fix(users): make users work outside of superdesk

SDS-1
Both
On Oct 15, 2014 3:13 PM, "Petr Jašek" <notifications@github.com> wrote:

> In apps/auth/db/commands.py:
>
> >                  return userdata
> >              else:
> >                  logger.info('creating user %s' % (userdata))
> >                  userdata[app.config['DATE_CREATED']] = userdata[app.config['LAST_UPDATED']]
> > -                superdesk.get_resource_service('users').post([userdata])
> > +                app.data.insert('users', [userdata])
>
> you mean in superdesk or outside superdesk?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/superdesk/superdesk-server/pull/307/files#r18889341>.
>