Issue #1373670 by sun: Change constant value of MENU_NOT_FOUND to 404 and MENU_ACCESS_DENIED to 403.
parent
256a10dd19
commit
e6a95a8190
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue