Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Blog & Widget private properties


Reply


2 Posts   614 Views

Avatar
Bambii7

Community Member, 254 Posts

25 April 2013 at 1:06pm

Edited: 25/04/2013 1:19pm

Hi guys,
just wondering why the most recent version of blog & widget module uses private static $db rather than public? Are all objects moving towards this?

EDIT: is this just to stop people using the master branches? I notice the other branches don't appear to have this.

Sorry if it's been answered before, a quick Google and glance on the forums didn't reveal the answer.

Avatar
Willr

Forum Moderator, 5513 Posts

3 May 2013 at 9:27pm

It's an API change for 3.1, All objects properties are moving towards private.