Remove unused code.
This commit is contained in:
parent
40423a0547
commit
7d1d34d1eb
@ -2,7 +2,7 @@
|
||||
|
||||
export async function create ({name}) {
|
||||
return Date.now() // Dummy id
|
||||
}
|
||||
}
|
||||
|
||||
create.description = 'creates a new group'
|
||||
create.permission = 'admin'
|
||||
|
17
src/xo.js
17
src/xo.js
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user