showthread_query hook appears twice?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mtha
    Senior Member
    • Oct 2002
    • 348
    • 3.6.x

    showthread_query hook appears twice?

    In showthread.php, the "showthread_query" hook and "showthread_postbit_create" appear at two locations, is that how hook should be?


    Line 912 and 1370

    PHP Code:
        ($hook vBulletinHook::fetch_hook('showthread_query')) ? eval($hook) : false

    Line 1014 and 1456
    PHP Code:
            ($hook vBulletinHook::fetch_hook('showthread_postbit_create')) ? eval($hook) : false
    Last edited by mtha; Sat 20 Aug '05, 9:45pm.
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    Yes, as they're on each side of an IF/ELSE condition.

    One is used for linear mode, they other for threaded/hybrid mode.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    Related Topics

    Collapse

    Working...