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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

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

Blog & Widget private properties


Go to End


2 Posts   1981 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, 5523 Posts

3 May 2013 at 9:27pm

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