diff --git a/DEPRECATED.md b/DEPRECATED.md index 8ccf90f70f..3c83c3d207 100644 --- a/DEPRECATED.md +++ b/DEPRECATED.md @@ -12,6 +12,7 @@ migrations will also be detailed here. ## 2.2 * Foxx: The usage of `controller.collection` is no longer suggested, it will be deprecated in the next version. Please use `appContext.collection` instead. +* Foxx: The usage of `apps` in manifest files is no longer possible, please use `controllers` instead. ## 2.3 diff --git a/js/server/modules/org/arangodb/foxx/manager.js b/js/server/modules/org/arangodb/foxx/manager.js index 4df95641ea..a64c9b0160 100644 --- a/js/server/modules/org/arangodb/foxx/manager.js +++ b/js/server/modules/org/arangodb/foxx/manager.js @@ -104,19 +104,7 @@ function checkManifest (filename, mf) { mf.description = ""; } - if (mf.hasOwnProperty("apps")) { - console.warn("Manifest '%s' still contains the deprecated 'apps' attribute. " + - "Please change the attribute name to 'controllers'.", filename); - - if (! mf.hasOwnProperty("controllers")) { - // controllers = apps - mf.controllers = mf.apps; - delete mf.apps; - } - } - - // validate all attributes specified in the manifest - + // Validate all attributes specified in the manifest // the following attributes are allowed with these types... var expected = { "assets": [ false, "object" ],