def deleteGroup(guser=None, details=None, gid=None): return stackptr_core.deleteGroup(gid=gid, pm=publish_message, guser=guser, db=db)
def deletegroup(): name = request.form.get('gid') return json.dumps(stackptr_core.deleteGroup(db=db, pm=publish_message, guser=g.user, gid=gid))