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

8.0.x
catch 2011-12-23 12:13:43 +09:00
parent 256a10dd19
commit e6a95a8190
1 changed files with 2 additions and 7 deletions

View File

@ -223,20 +223,15 @@ const MENU_CONTEXT_INLINE = 0x0002;
* 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.
*/
const MENU_NOT_FOUND = 2;
const MENU_NOT_FOUND = 404;
/**
* 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.