Commit e6a95a81 authored by catch's avatar catch
Browse files

Issue #1373670 by sun: Change constant value of MENU_NOT_FOUND to 404 and...

Issue #1373670 by sun: Change constant value of MENU_NOT_FOUND to 404 and MENU_ACCESS_DENIED to 403.
parent 256a10dd
...@@ -223,20 +223,15 @@ ...@@ -223,20 +223,15 @@
* Status codes for menu callbacks. * Status codes for menu callbacks.
*/ */
/**
* Internal menu status code -- Menu item was found.
*/
const MENU_FOUND = 1;
/** /**
* Internal menu status code -- Menu item was not found. * Internal menu status code -- Menu item was not found.
*/ */
const MENU_NOT_FOUND = 2; const MENU_NOT_FOUND = 404;
/** /**
* Internal menu status code -- Menu item access is denied. * Internal menu status code -- Menu item access is denied.
*/ */
const MENU_ACCESS_DENIED = 3; const MENU_ACCESS_DENIED = 403;
/** /**
* Internal menu status code -- Menu item inaccessible because site is offline. * Internal menu status code -- Menu item inaccessible because site is offline.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment