]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixes #1323 and #1186 - PHP 5.3 requires magic methods to be public
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 9 Dec 2009 12:51:26 +0000 (12:51 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 9 Dec 2009 12:51:26 +0000 (12:51 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3744 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/relationships.php

index dd63e2ac2dba651034b33ebed1a20cb8ebe8297c..865365f9dceb5c5e1d69960aa0ec4c98167cb357 100644 (file)
@@ -59,7 +59,7 @@ class ElggRelationship implements
         * @param string $name
         * @return mixed
         */
-       protected function __get($name) {
+       function __get($name) {
                if (isset($this->attributes[$name])) {
                        return $this->attributes[$name];
                }
@@ -74,7 +74,7 @@ class ElggRelationship implements
         * @param mixed $value
         * @return mixed
         */
-       protected function __set($name, $value) {
+       function __set($name, $value) {
                $this->attributes[$name] = $value;
                return true;
        }