Disabling Conversations application doesn't remove Inbox
This may be a bug.
I can manually remove it from the template, but since I'm using the tag {inbox} I would have expected the tag to be smart about not generating anything if the application is disabled. Because application is disabled and the link exists it results in a 404 error.
I can manually remove it from the template, but since I'm using the tag {inbox} I would have expected the tag to be smart about not generating anything if the application is disabled. Because application is disabled and the link exists it results in a 404 error.
0
Comments
But indeed, it doesn't seem to test anything:
function smarty_function_inbox_link($Params, &$Smarty) {
The link seems to be added by the application code, so I guess it's safe to remove it from any theme.$Wrap = GetValue('wrap', $Params, 'li');
return Gdn_Theme::Link('inbox',
GetValue('text', $Params, T('Inbox')),
GetValue('format', $Params, Wrap('%text', $Wrap)));
}
I am having the same trouble with the version of Vanilla. Can you tell me where the code is to delete so the Inbox will magically disappear?
Thank you.