Quote:
Originally Posted by Paul M
You dont need to globalize it, and its bad practice to do so.
What you need to do is use the correct variable, which in a lot of core class functions is $this->registry, not $vbulletin.
(e.g. $this->registry->options['xxx'], not $vbulletin->options['xxx']).
|
-_- facepalm, seeing this now I remember, Ive used that before. Thanks Paul =)