Remove unused code.

This commit is contained in:
Julien Fontanet 2015-05-28 16:56:45 +02:00
parent 40423a0547
commit 7d1d34d1eb
2 changed files with 1 additions and 18 deletions

View File

@ -2,7 +2,7 @@
export async function create ({name}) {
return Date.now() // Dummy id
}
}
create.description = 'creates a new group'
create.permission = 'admin'

View File

@ -1,5 +1,4 @@
import Bluebird from 'bluebird'
import createDebug from 'debug'
import forEach from 'lodash.foreach'
import includes from 'lodash.includes'
import isEmpty from 'lodash.isempty'
@ -26,10 +25,6 @@ import {Tokens} from './models/token'
// ===================================================================
const debug = createDebug('xo:xo')
// ===================================================================
class NoSuchAuthenticationToken extends NoSuchObject {
constructor (id) {
super(id, 'authentication token')
@ -50,18 +45,6 @@ class NoSuchXenServer extends NoSuchObject {
// ===================================================================
const PERSITENT_TYPES = {
}
const isObjectPersistent = object => object.$type in PERSITENT_TYPES
const PUBLIC_TYPES = {
}
const isObjectPublic = object => object.$type in PUBLIC_TYPES
// ===================================================================
export default class Xo extends EventEmitter {
constructor () {
super()