Yes, there is no reason for it to be static. - Robin Appelman
On Mon, Jan 2, 2012 at 00:02, Thomas Olsen <[email protected]> wrote: > On Sunday 01 January 2012 23:58 Robin Appelman wrote: >> "// if($this->valid()) { // FIXME: I get an error: "PHP Fatal error: >> Using $this when not in object context..." WTF?" >> >> the function loadFromFile is static, so while in that function you're >> not in object context. > > Facepalm - Thanks :-) > > So I'd better make it non-static, right? > > -- > Med venlig hilsen / Best Regards > > Thomas Olsen > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
