Gazelle icon indicating copy to clipboard operation
Gazelle copied to clipboard

Move blog forum ID constant to config.php

Open itismadness opened this issue 7 years ago • 3 comments

Right now, the constant is defined here: https://github.com/OPSnet/Gazelle/blob/d9920427fd09c37434a2a6634baf3dbb16339f85/sections/blog/index.php#L4

This should be moved within config.php. This forum constant can also be used for #99.

itismadness avatar Nov 27 '18 15:11 itismadness

ANNOUNCEMENT_FORUM_ID is also defined in staffblog. Should maybe be renamed and moved to config.php as well?

https://github.com/OPSnet/Gazelle/blob/d9920427fd09c37434a2a6634baf3dbb16339f85/sections/staffblog/index.php#L17

oieeq avatar Nov 28 '18 15:11 oieeq

Yeah, this should also be moved into config.php, and given it's own constant name separate from the normal blog and announcement constant. Good catch.

itismadness avatar Nov 29 '18 03:11 itismadness

Looks like it's defined in the staffblog, but not actually being used for staffblog posts?

oieeq avatar Nov 29 '18 15:11 oieeq