1
0
Fork 0

deleted _path

This commit is contained in:
a-brandt 2013-06-11 17:16:04 +02:00
parent 474340a069
commit 3cc5843247
1 changed files with 1 additions and 9 deletions

View File

@ -5747,10 +5747,6 @@ static v8::Handle<v8::Object> WrapVocBase (TRI_vocbase_t const* database) {
WRP_VOCBASE_TYPE,
const_cast<TRI_vocbase_t*>(database));
if (! result.IsEmpty()) {
result->Set(TRI_V8_SYMBOL("_path"), v8::String::New(database->_path), v8::ReadOnly);
}
return scope.Close(result);
}
@ -6446,11 +6442,7 @@ static v8::Handle<v8::Value> JS_UseVocbase (v8::Arguments const& argv) {
TRI_v8_global_t* v8g = (TRI_v8_global_t*) v8::Isolate::GetCurrent()->GetData();
v8g->_vocbase = vocbase;
v8::Handle<v8::Object> result = WrapClass(v8g->VocbaseTempl,
WRP_VOCBASE_TYPE,
const_cast<TRI_vocbase_t*>(vocbase));
return scope.Close(result);
return scope.Close(WrapVocBase(vocbase));
}
return scope.Close(v8::Boolean::New(false));