Skip to content

Commit 529d67d

Browse files
committed
Remove collection prefix from cache
1 parent d4d1be3 commit 529d67d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Controllers/DatabaseController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ DatabaseController.prototype.mongoFind = function(className, query, options = {}
374374
.then(collection => collection.find(query, options));
375375
};
376376

377-
// Deletes everything in the database matching the current collectionPrefix
377+
// Deletes everything in the database that belongs to the current app
378378
// Won't delete collections in the system namespace
379379
// Returns a promise.
380380
DatabaseController.prototype.deleteEverything = function() {

src/ParseServer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ addParseCloud();
5353

5454
// ParseServer works like a constructor of an express app.
5555
// The args that we understand are:
56-
// "databaseAdapter": a class like DatabaseController providing create, find,
57-
// update, and delete
5856
// "filesAdapter": a class like GridStoreAdapter providing create, get,
5957
// and delete
6058
// "loggerAdapter": a class like FileLoggerAdapter providing info, error,
@@ -168,7 +166,6 @@ class ParseServer {
168166
cache.apps.set(appId, {
169167
masterKey: masterKey,
170168
serverURL: serverURL,
171-
collectionPrefix: collectionPrefix,
172169
clientKey: clientKey,
173170
javascriptKey: javascriptKey,
174171
dotNetKey: dotNetKey,

0 commit comments

Comments
 (0)